#Convex authentication with Expo Web

5 messages · Page 1 of 1 (latest)

slow burrow
#

Is it currently possible to use convex authentication with Expo Web, Android and IOs?

vital forgeBOT
#

Thanks for posting in #1088161997662724167.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.

    - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
    - Use [search.convex.dev](https://search.convex.dev) to search Docs, Stack, and Discord all at once.
    - Additionally, you can post your questions in the Convex Community's #1228095053885476985 channel to receive a response from AI.
    - Avoid tagging staff unless specifically instructed.

    Thank you!
vernal sparrow
#

(assuming you mean the Convex Auth library, vs. being able to integrate an auth provider like Clerk or Auth0 with Convex)

I believe so -- check out the React Native sections at https://labs.convex.dev/auth.

https://github.com/get-convex/expo-convex-auth is an example app (although admittedly when I made this, I mostly tested the iOS portion vs. the expo web portion)

GitHub

Example app of Expo + Convex Auth. Contribute to get-convex/expo-convex-auth development by creating an account on GitHub.

slow burrow
#

@vernal sparrow I'm facing a problem trying to run this project

{
    "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 application redirects me to the login page with Google, but when I approve I am not redirected to the login page