This is a simple example of how to use Google OAuth in a FastAPI project.
- A Google Cloud Platform project with OAuth 2.0 client credentials
Clone to route into your Project and set the following environment variables
:
- GOOGLE_CLIENT_ID=<your_google_client_id>
- GOOGLE_CLIENT_SECRET=<your_google_client_secret>
- GOOGLE_REDIRECT_URI=<your_google_redirect_uri>