Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Invalid redirectTo URI http://localhost:8081 #115

Open
lucasmsoares96 opened this issue Nov 4, 2024 · 0 comments
Open

Comments

@lucasmsoares96
Copy link

When running the code from the expo-convex-auth repository or following the convex auth documentation with Expo to set up OAuth with Google Sign In, I get the following error when clicking the Sign In button:

  "code": "[Request ID: 923d45806d831583] Server Error: Uncaught Error: Invalid redirectTo URI http://localhost:8081",
  "trace": "Uncaught Error: Invalid redirectTo URI http://localhost:8081\n    at redirect (../../convex/auth.ts:40:6)\n    at redirectAbsoluteUrl (../../node_modules/@convex-dev/auth/dist/server/implementation/redirects.js:8:4)\n    at <anonymous> (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:183:36)\n    at invokeFunction (../../node_modules/convex/src/server/impl/registration_impl.ts:79:2)\n    at invokeHttpAction (../../node_modules/convex/src/server/impl/registration_impl.ts:422:0)\n    at q.invokeHttpAction [as invokeHttpAction] (../../node_modules/convex/src/server/impl/registration_impl.ts:448:9)\n    at <anonymous> (../../node_modules/convex/src/server/router.ts:322:16)\n"
}

The issue occurs on both Expo Web and Android (not tested on iOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant