Authentication

Resolve deterministic login option

Changed on

Returns the deterministic next authentication step for an email address. SSO is preferred before Google, password, GitHub compatibility, and new account creation. When the SSO organization does not restrict its domain, the SSO step also carries alternativeStep (the usual method), ssoRequired and organizationName, and a valid pending invitation to another organization skips the domain's SSO.

get/v1/auth/login-options

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    none required

Query parameters

email, string email required
invite, string

Response

Login option resolved successfully.

AuthLoginOptionsResponse required
email, string email required
nextStep, union required
allowPublicSignup, boolean
allowInvitationSignup, boolean
offerGoogleOnPassword, boolean
organizationSlug, string
signInPath, string
signInUrl, string uri
organizationName, string
ssoRequired, boolean
alternativeStep, union
ssoProviders, AuthSsoSignInOption[]

Changes