Authentication
Resolve deterministic login option
Changed onReturns 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 URLhttps://api.openworklabs.com
- Authnone required
Query parameters
email, string email required
invite, string
Response
Login option resolved successfully.
Auth Login Options Response 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, Auth Sso Sign In Option[]
Changes
- info
added the optional property
offerGoogleOnPasswordto the response with the status
- info
- info
added the optional property
ssoProvidersto the response with the status
- info