
When I try to run the following I'm getting an error from Google:
TypeScript
account.createOAuth2Session(
"google",
"http://localhost:5175",
"http://localhost:5175/failed"
)
}
Any idea what I'm missing or how I can debug? My app is currently being verified by Google (i.e it's not in testing mode).
TL;DR
Developers are facing an OAuth Redirect URI Mismatch error when trying to run Google sign-in due to incorrect URI configuration. To resolve this, ensure that the redirect URIs in the Google Cloud Console match the ones used in the code (both http://localhost:5175 and http://localhost:5175/failed). Additionally, verify that your app status in Google is set to testing mode during the verification process.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...
- Custom Domain Issue
i have added a custom domain about 21 hours ago, but till now there is no SSL certificate is active on it. but if i do DNS check via https://dnschecker.org/#C...
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
