Content pfp
Content
@
https://warpcast.com/~/channel/miniapps
0 reply
0 recast
0 reaction

artlu 🎩 pfp
artlu 🎩
@artlu
another minimalist Mini App starter, this time with SIWF! If you're a FC dev, giving users access to their moneys via Mini Apps, good 👏 ! Users should always own their moneys! but please protect it mi familia FOSS repo plz 🤓 👀 👮 only uses hono + zod + viem no Optimism RPC! no Hubs! stateless JWT (future-ready for FC Auth addresses)
4 replies
5 recasts
20 reactions

Tony D’Addeo pfp
Tony D’Addeo
@deodad
just looked over the template—this is really nice! callout on storing the jwt in the sessionStorage: if a user signs out of Warpcast and signs back in as another user they could still be logged into the Mini App as the previous user. it looks like you automatically sign in on each mini app load which is great / the recommended approach so this will overwrite the previous session a security improvement would be to store the jwt in memory instead of session storage so it gets flushed when the app is closed the UX on web will suck for now but in < 1 month we should have silent and seamless SIWF everywhere and so getting a fresh session on each mini app load will still give excellent UX
2 replies
0 recast
1 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
see this for a similar explanation https://miniapps.farcaster.xyz/docs/guides/auth
0 reply
0 recast
1 reaction