Functional Preview

OAuth2 Login Flow

Complete social login integration prompts.

Description

Prompts to generate backend logic for Google and GitHub OAuth2 authentication using FastAPI and JWT tokens.

PROMPT
Write a FastAPI route handler for Google OAuth2 login. It should exchange the authorization code for an access token and return a JWT for the user.
B
backend-guru
CategoryFunctional
LicenseMIT
Updated2 days ago