OAuth callback handler
OAuth
OAuth callback handler
Handle OAuth callback from provider. Exchanges authorization code for access token, fetches user info, creates or finds user, and redirects to app with a magic link token for authentication.
GET
OAuth callback handler
Authorizations
API Secret token
User Access token
Path Parameters
App ID
Query Parameters
OAuth authorization code
OAuth state parameter
Response
redirect to app with magic link
Redirects to the app's login URL with magic link token
Redirect URL to app with magic link token parameter (sct_oauth)