OpenID Connect & OAuth 2....
/
/primary-authenticate/req...
Returns the list of authenticator enrollments available for primary authentication in a direct authentication flow. Use this endpoint to discover which authenticators the user can use before initiating authentication.
Note: The
/primary-authenticate/requirementsendpoint requires client authentication. The method is configured per client app. See Client authentication methods.
Space-separated list of primary authentication challenge types supported by the client
The purpose of the authentication request
| Enum Value | Description |
|---|---|
| sso | Standard sign-on authentication |
| recovery | Self-service password reset flow. Evaluates recovery policy instead of sign-on policy |
| device_bound_sso | Device-bound SSO authentication |
Example:"sso"
- https://subdomain.okta.comhttps://subdomain.okta.com/oauth2/{authorizationServerId}/v1/primary-authenticate/requirements
curl -i -X POST \
'https://subdomain.okta.com/oauth2/{authorizationServerId}/v1/primary-authenticate/requirements' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d login_hint=testuser@example.com \
-d intent=sso \
-d 'challenge_types_supported=urn:okta:params:oauth:grant-type:otp urn:okta:params:oauth:grant-type:oob'