
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
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
