Content pfp
Content
@
https://warpcast.com/~/channel/frames-v2
0 reply
0 recast
0 reaction

Daniel - Bountycaster pfp
Daniel - Bountycaster
@pirosb3
How do cookies work in Frames V2? After authenticating a user with SIWF, I'm trying to set a session cookie but nothing seems to persist when testing in Warpcast's online debugger view
3 replies
0 recast
6 reactions

Daniel - Bountycaster pfp
Daniel - Bountycaster
@pirosb3
As a follow up on this - basic session functionality (set cookie, read cookie) works gracefully when using the same app on a regular browser
0 reply
0 recast
1 reaction

Sinaver pfp
Sinaver
@sinaver.eth
not much about frame V2, but how cookies are stored/used in cross-request env like iframe: cookie should be passed with SameSite = none, otherwise browser will check if it's under same domain of the caller domain obviously, this makes it less secure because other websites can now use the cookie to make calls to your API, hence you need to limit API with proper CORS, so browser doesn't pass cookie unless the website in the list https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie
2 replies
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
/microsub tip: 27 $DEGEN
0 reply
0 recast
0 reaction