Auth

Initiate user authentication

Redirects user to WorkOS authentication URL to begin the login process

get/auth/login

Request

  • Base URL: http://localhost:9000
  • URL: http://localhost:9000/auth/login
  • Auth: none required

Query parameters

redirectUristring
useRecentSsoboolean

Use the most recently successful company SSO organisation when available.

emailstring

Work email entered on the app-owned login page. Used to stop uninvited users before hosted AuthKit.

provider'authkit' | 'GoogleOAuth' | 'MicrosoftOAuth'

Legacy compatibility parameter; ignored.

ssoboolean

Legacy compatibility parameter; ignored.

Response

Default Response

Changes

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