I'm building an app using react native with expo.
An image of my code is attached. The code is a useEffect that i have in a context that wraps the root layout of my app.
When my user leaves the app and comes back to the app, this block of code is triggered. It successfully passes the "if" check and tries to update the session. However it throws this error every time dispite the user being logged in with an oauth2 google session:
"Error updating current session: [AppwriteException: The chosen OAuth provider is unsupported. Please check the <a href="/docs/client/account?sdk=web-default#accountCreateOAuth2Session">Create OAuth2 Session docs</a> for the complete list of supported OAuth providers.]"
Why is this happening and how do I fix it?
This is not working for regular sessions as well for quite some time
Recommended threads
- vorafy.studio domain already exists erro...
My domain vorafy.studio is stuck/locked from a previously deleted project. I created a new project but can't add the domain — getting 'already exists' error. Pl...
- Custom domain for Google Auth
Hello! I connected my custom domain to my Appwrite project, but I can't get the Google login/consent screen to show my domain instead of the Appwrite domain. I...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...