Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Patrick | Megapot
@pl
What is the newest changes to auth flow? How do I know if my mini app (Megapot) needs changes? We already automatically connect to farcaster wallet, but we did this in March Cc @linda https://farcaster.xyz/toadyhawk.eth/0x974622f6 https://farcaster.xyz/limone.eth/0x7450862b
5 replies
0 recast
6 reactions
limone.eth 🍋
@limone.eth
use quick auth + custom jwt session (in cookies) to avoid retriggering auth if the user session is still valid
1 reply
0 recast
0 reaction
Patrick | Megapot
@pl
So this affects users who are on mobile and try opening on desktop? Or who?
1 reply
0 recast
0 reaction
limone.eth 🍋
@limone.eth
mainly desktop if you use standard sign in with farcaster without either: - quick auth - auth addresses
1 reply
0 recast
0 reaction
Patrick | Megapot
@pl
How do I know if I’m doing either of these? App currently connects to warplet. I don’t know if I’m 1 or 2 versions behind the latest rec changes for auth at this point
2 replies
0 recast
0 reaction
limone.eth 🍋
@limone.eth
can you share the snippet where you perform auth with the sdk? likely sdk.actions.signIn
1 reply
0 recast
0 reaction
limone.eth 🍋
@limone.eth
https://github.com/builders-garden/farcaster-miniapp-starter/blob/main/contexts/user-context.tsx look at how we do it here
0 reply
0 recast
1 reaction