Complete OIDC authorization (grant bridge)
POST/api/auth/oidc/grant
After your login UI receives request_token from /api/oidc/{projectId}/authorize, authenticate the user, then call this endpoint to get the final redirectUrl for the browser. Requires Pro (feature_not_available on lower tiers).
Request
Responses
- 200
- 400
- 401
- 403
- 404
OK — includes data.redirectUrl for consent approval or denial flow.
Invalid body (Zod)
invalid_api_key or invalid_token (bad request_token)
user_banned or feature_not_available
user_not_found