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
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...