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
- Hosted a webite on appwrite 2 days ago, ...
I dont really know why its down, everything looks fine, the deployments and all
- OAuth login not working on deployed app ...
Hey there, I've been dealing with an issue where I cannot use OAuth on my deployed app - locally everything works fine. I am using react-router in Framework Mo...
- database documents relationships
after migrating from 1.7.4 to 1.8, database get document and list documents is getting results but with no relationship values, the relationship attribute will...