Hey, got 2 questions regarging Signin with OAuth
- I know it returns a Session object, is there a way to have it reauth or convert to an account object so that account.get works?
- When redirecting to my OAuth success page, i have it calling account.getSession('current') and I am getting
appwriteException: User (role: guests) missing scope (account)
Not sure what I am doing wrong
You might be facing a problem with 3rd party cookies. Either allow them in your browser settings or have your Appwrite endpoint be a sub domain of your app.
It's currently redirecting to localhost for dev purposes, will it not work with localhost?
You will still need to do what I recommended. For the domain approach, you can modify your hosts file.
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...