createMagicURLSession ---> email recieved by the user ---> user redirected to the app when he clicks the link ---> but accounts.get() is throwing general_unauthorized_scope error.
But the same flow with google oAuth is working properly. Here when the user is redirected accounts.get() is returning the User.
Did you finish the magic url flow by calling this? https://appwrite.io/docs/client/account?sdk=flutter-default#accountUpdateMagicURLSession
Thank you guys. I ve successfully implemented it with deep links
[SOLVED] Magic URL in flutter mobile not creating a session after redirect.
FYI, this is the related issue: https://github.com/appwrite/appwrite/issues/5298#issuecomment-1489152692
Recommended threads
- Current User is Not authorized
recreating same Thread
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...