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
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- redirect_uri errors on flutter client
Hi all, I'm using the flutter client for my app to do appwrite auth and use the JWTs to send to my backend. When I try to sign in with SSO, I get this: https:/...
- Problem with getting rows from related t...
Hi, I migrated the Appwrite SDK to 1.8.0 and the package in my Flutter app to version ^20.3.2. I noticed one thing is different. Previously, when I got a JSON r...