OAuth provider callback (registered redirect URI)
The URL you register with each OAuth provider
(https://<deployment>.convex.site/api/auth/callback/google).
Exchanges the authorization code, validates signed state, then
302s to the validated callbackURL — or errorURL on failure.
GET
/api/auth/callback/{provider}Path parameters
providerstringrequiredQuery parameters
codestringstatestringerrorstringerror_descriptionstringResponses
302
Redirect to the validated app URL
400
Invalid body or an untrusted redirect parameter.
successbooleanrequiredAllowed:
falsereasonstringrequired