[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
- Invalid `success` param
Hi again, I've tried to set up the login process. However, I always get the message: `Invalid success param: URL host must be one of: localhost, xxx` I've alr...
- Is it possible to have multiple smtp on ...
I already have one in one project but is it possible to use different one in another?
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
