mennov_
mennov_2mo ago

Limit Domain

I’m using convex auth together with Google OAuth2 authentication. How do I limit users strictly to a single domain? I’ve been able to add hd=domain.com to the url, but want to make sure it’s limited before users are added.
2 Replies
Convex Bot
Convex Bot2mo ago
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 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!
mennov_
mennov_OP2mo ago
Solved it for now by limiting the oauth2 application to just internal users.

Did you find this page helpful?