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
- Middleware
how to make middleware in nextjs appwrite with client side auth?
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- 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...