Hola π
I'm using OAuth with Appwrite in my Flutter app. After creating an OAuth session, it seems there's no session, and I get a user_unauthorized error: AppwriteException (AppwriteException: general_unauthorized_scope, User (role: guests) missing scope (account) (401))
However, if I refresh the app, the session is recognized, and everything works as expected.
Do I need to handle the session differently to ensure it's recognized immediately without needing a refresh? Any guidance on how to fix this would be appreciated.
Thanks!
Recommended threads
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...