v1
latestOpenAPI 3.1.02026-08-04156223229.6 KBauth
Exchange Oauth Token Endpoint
Exchange a Stytch OAuth token for a session token and JWT.
Called by the browser app after Stytch redirects back with ?token=xxx. Intentionally unauthenticated — this endpoint IS the authentication mechanism. The Stytch secret key never leaves the server.
post/auth/oauth/exchange
Request body
Response
Successful Response