Auth
Oauth Callback
Handle IdP callback: exchange code, find/create user, redirect to frontend.
The frontend redirect carries a one-time sign-in code, or on a cross-origin deployment the tokens, in the URL fragment. Without explicit-config resolution, an attacker controlling X-Forwarded-Host could steer the post-callback redirect to attacker.com and capture them. Force explicit-config resolution by passing for_external_use=True.
get/auth/oauth/{provider_slug}/callback
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
provider_slugstring required
Response
Successful Response
Changes
No recorded changes to this operation across all 50 revisions of this API.