OAuth

Initiate Oauth

Generate authorization URL for OAuth authentication.

get/v1/oauth/initiate

Request

Query parameters

redirect_uristring required

URI to redirect after authentication

code_challengestring nullable

PKCE code challenge (S256)

connection_idstring nullable

Optional WorkOS connection ID for SSO

organization_idstring nullable

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

Changes

No recorded changes to this operation across all 1 revision of this API.