In the docs here: https://docs.convex.dev/auth/functions-auth it says "if you're using Convex Auth, see <some other doc>". So what is this doc for? Other than auth0, what are all the auth options available right now?
#What are all the different auth options?
8 messages · Page 1 of 1 (latest)
Hi @compact oyster. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the knowledge sources provided, I can answer your question about the different authentication options available for Convex.
Convex supports several authentication methods:
-
Third-party authentication platforms:
- Clerk
- Auth0
- Custom Auth Integration for any OpenID Connect-compatible identity provider
-
Convex Auth (currently in beta):
This is a library for implementing authentication directly within your Convex backend. It supports:- Magic Links & OTPs (One-Time Passwords)
- OAuth (sign in with Github, Google, Apple, etc.)
- Passwords (including password reset flow and optional email verification)
-
Service Authentication:
For servers or third-party services that need to call Convex functions but may not represent specific users, you can implement public functions that check a shared secret.
Regarding your question about the purpose of the document at https://docs.convex.dev/auth/functions-auth, this document is likely intended for users who are using third-party authentication platforms or custom auth integrations. It explains how to access authentication information in Convex functions when using these methods.
The reference to "if you're using Convex Auth, see <some other doc>" is directing users of the Convex Auth library to a different set of documentation specific to that implementation, as it may have different methods for accessing auth information in functions.
To summarize, the main auth options available right now are:
- Third-party platforms (Clerk, Auth0)
- Custom OpenID Connect-compatible providers
- Convex Auth (beta)
- Service Authentication for server-to-server communication
Each of these options has its own setup and implementation details, which are covered in their respective documentation sections.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@compact oyster Kapa.ai is still learning and improving, please let me know how I did by reacting below.
@brazen perch convex auth only supports react apps at the moment, correct?
Let me check the knowledge base for you again. One moment! :books:
Based on the knowledge sources provided, you are correct that Convex Auth currently only supports React applications. Here's the specific information I found:
Convex Auth states:
"Convex Auth currently supports client-side React web apps served from a CDN and React Native mobile apps."
Additionally, in the Auth FAQs, there's a question specifically addressing this:
"Can I use Convex Auth if I'm not using React?
We currently only have Convex Auth client libraries for React. Contributions to add a client implementation for another framework are welcome!"