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
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...