I am using appwrite cloud, and signing up/ signing in like this
"github",
"http://localhost:3000/success.html", // Callback URL for success
"http://localhost:3000/failure.html", // Callback URL for failure
[]
);```
And when I do `account.get()` on the success page, it returns this error:
```sdk.js:381 GET https://cloud.appwrite.io/v1/account 401```
```AppwriteException: User (role: guests) missing scope (account)
at e.Client.<anonymous> ```
also, the user gets added but the no. of registered users remain 0
You most likely have a 3rd party cookie problem.
You can try searching the internet for how to enable 3rd party cookies.
Otherwise, the easiest thing to do for local development is to edit your hosts file to point app.cloud.appwrite.io to localhost and then use that for your app
I enabled all cookies, and it worked
thanks Steven
Also, could you tell me why registered users are zero (screenshot attached)
How'd you do that and in what browser?
The usage stats are a little confusing. We're rewriting it to be clearer
In chrome, Settings > Cookies and other site data > Allow all cookies
[SOLVED] OAuth missing scope error
Recommended threads
- general_unauthorized_scope
localhost oauth not working. general_unauthorized_scope error showing. { "message": "User (role: guests) missing scopes ([\"account\"])", "code": 401, ...
- Anyone manage to get a slack-bot working...
I'm trying to setup a bot the send and retrieve slack messages to a chat in my site. I've failed with SSE and appwrite functions soo far... i'll trying polling ...
- [Sites] Deployment finished but site is ...
The deployment finished and is active but the site shows timeout error.