[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
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...