Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add userVerificationMethods to API Payload #2061

Merged

Conversation

pro4tlzz
Copy link
Contributor

@pro4tlzz pro4tlzz commented Aug 8, 2024

Fixes #2060

@pro4tlzz
Copy link
Contributor Author

pro4tlzz commented Aug 13, 2024

I can't test this because my free org doesn't have the capability to enable this feature flag.

The constraint looks like this. userVerificationMethods is an array of strings.

  constraints = [
    jsonencode({
      "possession" : {
        "required" : true,
        "authenticationMethods" : [
          {
            "key" : "okta_verify",
            "method" : "signed_nonce"
          }
        ],
        "hardwareProtection" : "REQUIRED",
        "phishingResistant" : "REQUIRED",
        "userPresence" : "REQUIRED",
        "userVerification" : "REQUIRED",
        "userVerificationMethods" : [
          "BIOMETRICS"
        ]
      }
      }
    )
  ]

@pro4tlzz pro4tlzz force-pushed the pro4tlzz/add-userVerificationMethods branch from 113062f to bc4ea52 Compare August 13, 2024 10:47
@duytiennguyen-okta duytiennguyen-okta merged commit fbd4a0b into okta:master Aug 20, 2024
1 check passed
@pro4tlzz pro4tlzz deleted the pro4tlzz/add-userVerificationMethods branch August 21, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The feature flag ASSURANCE_BIO_ONLY_USER_VERIFICATION_CONSTRAINT is not covered
2 participants