[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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here π I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...