Gmail OAuth callback

OAuth 2.0 callback endpoint. Google redirects here after user grants/denies permission. This endpoint exchanges the authorization code for access and refresh tokens, validates the email, and stores credentials.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

OAuth state token for CSRF protection (must match stored state)

string

Authorization code from Google (exchanged for tokens)

string

Error code if user denied authorization (e.g. access_denied)

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/html