[SOLVED] Oauth - AppwriteException: User (role: guests) missing scope (account)
- 0
- Self Hosted
- Web

Local install, v1.4.1
i'm calling google oauth to create a session, google sends back success, the user is added to appwrite, and server correclty redirects back to the success app URL.
All good so far.
But the session doesnt seem to be created - as soon as I call account.getSession('current') in the success callback handler, I get the error AppwriteException: User (role: guests) missing scope (account)
Any ideas?

you might be facing a problem with 3rd party cookies. is the hostname for appwrite a subdomain of your app?

aaaah - good shout! damn Firefox!!!

it's okay...it's more secure that way π even though security almost always clashes with convenience

[SOLVED] Oauth - AppwriteException: User (role: guests) missing scope (account)

@Drake , hi, may I know what this means? if the self-hosted appwrite is https://appwrite.myhost.com , then what is the success URL looks like?

Please create a new <#1072905050399191082> post
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
