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?
Recommended threads
- Hey everyone! I'm trying to self-host th...
Hey everyone! I'm trying to self-host the latest Appwrite version (1.8.1) on Coolify. Which docker-compose.yml file should I use from their repo? Can someone he...
- SSR Auth with Tanstack Start requires ha...
I followed the Next.js guide for SSR Auth on https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1 I tried to replicate it for Tanstack Start. However, on...
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...