[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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- 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...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...