Auth

Start Okta authorization flow via WorkOS

GET
/api/auth/okta/authorize

Public endpoint invoked by the browser to begin SSO via Okta (brokered through WorkOS SSO). Builds the Okta authorization URL and responds with a 302 redirect. Returns 400 when WorkOS or the Okta connection is not configured.

Query Parameters

redirect_uri?string
state?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/auth/okta/authorize"
Empty