Skip to content
LogoLogo

Start provider sign-in

Start provider sign-in

GET/api/v1/auth/providers/{provider}/authorize

Begins an OAuth/OIDC sign-in attempt with the named provider and redirects the browser to that provider's consent screen. An unknown or disabled provider name reports the same not-found response as any other absent resource.

Path Parameters

providerRequired
string

Identity provider name.

Values
googlegithubapple

Query Parameters

return_to
string·max 4096

Local browser path to resume after provider sign-in. Accepts /oauth/authorize with a query string, token-free /invitations/accept, or /app/ Workspace paths including query and fragment. External URLs and unapproved paths are ignored.

Example/oauth/authorize?client_id=https%3A%2F%2Fchatgpt.com%2Foauth%2Fcodex%2Fclient.json
remember_me
boolean

Pass false to decline "Remember this device": the session issued when the provider callback completes is a browser-session cookie bounded to 48 hours (idle and absolute). Any other value, or omitting it, issues the persistent session.

Responses