
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
- Google OAuth2 Login Gets Stuck in Redire...
I'm facing an issue with the Google OAuth2 login flow on my Flutter Android app using the Appwrite SDK. After a successful sign-in with Google, the browser ente...
- Facebook OAuth with Appwrite Cloud fails...
I’m integrating Facebook login in my Flutter app using Appwrite Cloud. Google OAuth works fine, but I’m stuck with Facebook. Here’s what happens: When I log i...
- Issues connecting my appwrite 1.7.4
Im trying to connect my app using the app-starter but all the pings are getting an error 500, Ive tried with windows / android and web all give the same 500 err...
