Handle callbacks from Google
GET/auth/redirect
Handles the Google OAuth redirect by exchanging the authorization code for an access token, retrieving user information, and storing the session.
Request
Responses
- 200
- 302
- 400
- 401
Login successful
Redirect to custom URL
Response Headers
Location
Custom redirect URL
Missing authorization code
Authorization failure during token exchange or user info retrieval