
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
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
- Two steps signIn with one user:
'm using appwrite to try two phase login, step 1: await account.createAnonymousSession(); or final appwriteUser = await account.create( ...
- Registering new flutter app
Hi, ive got an already build flutter app which works in development with appwrite. but with the built version i get an error that the client is not registered. ...
