LiuCow
LiuCow5mo ago

Google API Authentification Integration Help

Hello! We are wondering if there are any resources to help give us a direction on how to integrate Google API authentification into our project backend setup with Convex. We are specifically hoping to integrate emails, so we would have to integrate Google's Gmail API but am unsure how we might do this. Thank you in advance!
4 Replies
jamwt
jamwt5mo ago
Convex auth uses Auth.js-style provider configs: https://labs.convex.dev/auth/config/oauth
OAuth - Convex Auth
Authentication library for your Convex backend
jamwt
jamwt5mo ago
here's the auth.js docs for google https://authjs.dev/getting-started/providers/google
Auth.js | Google
Authentication for the Web
jamwt
jamwt5mo ago
should be pretty easy to port that over to convex auth... mostly you just use convexAuth instead of NextAuth , but the rest of the setup is identical
LiuCow
LiuCowOP5mo ago
oooo okay thank you so much!! we will take a look

Did you find this page helpful?