Interlaken
API referenceIdentity and accessOAuth 2.1

Submit credentials for an authorization code flow

POST
/oauth/authorize

Receives the sign-in form. When the account requires a second factor the response is the one-time-code form rather than a redirect, and this endpoint is posted to again with the code.

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

text/html

curl -X POST "https://example.com/oauth/authorize" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
"string"