auth
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
- Base URLhttps://api.tryscott.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.