0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
been facing some issues with farcaster quickauth. is there anyone who can help here? @samuellhuber.eth @limone.eth @dwr.eth @deodad @linda https://www.loom.com/share/c6ad1df884dc42f08f8a09b9af5372df
3 replies
1 recast
8 reactions

Tony D’Addeo pfp
Tony D’Addeo
@deodad
thanks for the video, very helpful for debugging am I correct in understanding that the promise for getToken is just never resolving?
1 reply
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
it's not like it's stuck there in the promise. the debugger is in the play mode after that line. it breaks the execution without any error. if you want, i can share the link to my ngrok deployment right now.
1 reply
0 recast
0 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
if you put a log statement above sdk.quickAuth.getToken it get's logged?
1 reply
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
1 reply
0 recast
1 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
got it and then the Promise rejects?
1 reply
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
i wrapped it with catch but idk the error log is not in the browser console
1 reply
0 recast
1 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
got it so it does seem like the promise is not resolving yea?
1 reply
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
yeah, i guess so.
1 reply
0 recast
0 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
want to send me the ngrok url? I'll see if it's something specific to your environment or reproducible
1 reply
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
this should work https://kickback.in.ngrok.io
1 reply
0 recast
1 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
ok that works fine for me, I see the getToken ~ result which means it's likely a bug with us getting the sign in signature. are you signed into your farcaster wallet on web?
2 replies
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
hey, yeah. seems like that was the issue. till now, i was just getting a small bottom drawer (like 50px in height) that was stuck with a spinner. i discarded it, thinking it was a "add frame" drawer, but just now it started working properly. i dont know how to recreate that for you or confirm it it's a desktop only issue, just want to voice it for for reference. for better ux, is there a hook that can let me know if the user has rejected the signature prompt or that the app does not has signature yet? from what i understand that dialog is triggered when i ask for the token using sdk.actions.getToken right?
1 reply
0 recast
1 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
yea dialogue is triggered by getToken this dialogue should be very obvious but seems like there is some bug preventing that from being the case was this bottom drawer within the mini app container or outside of it?
1 reply
0 recast
0 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
within the min app container, so the dialog right now triggers as you open the app and then it should have triggered again during the request call i shared above, right? instead it went into a unresolved promise. that's a bug or should i handle something differently?
1 reply
0 recast
0 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
bug on our end were you signed out of your wallet when you were running into this? if you could get back into that state and reproduce would be tremendously useful
1 reply
0 recast
1 reaction

0xbhaisaab pfp
0xbhaisaab
@0xbhaisaab
will ping you if get it agai
0 reply
0 recast
0 reaction