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
Convex auth uses Auth.js-style provider configs: https://labs.convex.dev/auth/config/oauth
OAuth - Convex Auth
Authentication library for your Convex backend
here's the auth.js docs for google https://authjs.dev/getting-started/providers/google
Auth.js | Google
Authentication for the Web
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 identicaloooo okay thank you so much!! we will take a look