Sam pfp
Sam
@sammdec.eth
In the @farcaster mini app docs it says that SIWF automatically produces the auth signature if connecting with a client that supports e.g Warpcast. Are there any examples of how to handle that on the frontend? So that if it’s not automatically produced I show a button but if it is then it hides the button and sends the sig to my backend
2 replies
1 recast
3 reactions

dylan pfp
dylan
@dylsteck.eth
iiuc you're asking if SIWF is automatically prompted in mini apps? it's only called when you run the sdk.actions.logIn function, the frames v2 demo repo below is a good example of how to call this on the frontend & then handle the auth response on the backend https://github.com/farcasterxyz/frames-v2-demo
1 reply
0 recast
1 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
sdk.actions.signIn https://miniapps.farcaster.xyz/docs/sdk/actions/sign-in
1 reply
0 recast
0 reaction