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
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...