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
- 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 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...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...