v1

latestOpenAPI 3.1.02026-08-04151221521.2 KB
OAuth

Initiate Oauth

Generate authorization URL for OAuth authentication.

get/v1/oauth/initiate

Query parameters

redirect_uristring required

URI to redirect after authentication

URI to redirect after authentication

code_challengestring nullable

PKCE code challenge (S256)

PKCE code challenge (S256)

connection_idstring nullable

Optional WorkOS connection ID for SSO

Optional WorkOS connection ID for SSO

organization_idstring nullable

Organization ID to scope the authentication to

Organization ID to scope the authentication to

Response

Successful Response

authorization_urlstring required

URL to redirect user for authentication

statestring required

State parameter for CSRF protection