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

steve pfp
steve
@steve3.eth
Noob question for the devs - if I want to test my mini app in the debug tool, and test out the "Connect with Farcaster" feature, it prompts me to sign in/approve from my phone - but then it doesn't actually do anything and just refreshes. The mini app works when testing it in the mobile app's frame playground, but doesn't seem to do anything on desktop. Is this a known limitation or am I just missing something?
3 replies
0 recast
1 reaction

Angel - Not A Bot pfp
Angel - Not A Bot
@sayangel
when you say it doesn't do anything you mean after you approve on your phone? all that happens in this step on both desktop and mobile is you get a response with a signed message. are you not getting that? I have used both desktop and mobile flows successfully on the mini app debug page.
1 reply
0 recast
1 reaction

steve pfp
steve
@steve3.eth
Yeah after I approve on mobile, the desktop version of the mini app just refreshes and I still see “Connect with Farcaster” You’re able to actually navigate through your app on the desktop debug tab after giving approval?
2 replies
0 recast
1 reaction

Angel - Not A Bot pfp
Angel - Not A Bot
@sayangel
yeah. i think it depends on what you're doing with the sign in response in your app tbh. are you using a template or a framework? nextauth?
1 reply
0 recast
2 reactions

steve pfp
steve
@steve3.eth
Ahh ok something must be up with my implementation. I’m using the @neynar mini app example repo from their GitHub. Thanks for the replies btw! 🙂
1 reply
0 recast
1 reaction

Angel - Not A Bot pfp
Angel - Not A Bot
@sayangel
ok then I know what it is! for desktop flows you have to make sure the cookie sameSite attribute is none: https://warpcast.com/ds8/0x6a74e481
3 replies
0 recast
3 reactions

Angel - Not A Bot pfp
Angel - Not A Bot
@sayangel
fyi @rish @veganbeef you should update create-neynar-frame with the sameSite setting so that desktop calls to actions.signIn work correctly
2 replies
0 recast
3 reactions

veganbeef pfp
veganbeef
@veganbeef
thanks for flagging this! just pushed (v1.2.11) an update and tested myself SIWF fixed in the desktop debugger with `@neynar/[email protected]`
1 reply
0 recast
2 reactions

Angel - Not A Bot pfp
Angel - Not A Bot
@sayangel
legend 👊
0 reply
0 recast
1 reaction