Step 2: Valdiate the Security Questions Enrollment
POST {{stripeUrl}}/admin/v1/MyAuthenticationFactorValidator
This step validates the enrollment in the Security Questions factor.
In the request, you must include the questions and answers registered in Step 1.
Request Body
{"schemas"=>["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorValidator"], "authFactor"=>"SECURITY_QUESTIONS", "scenario"=>"ENROLLMENT", "securityQuestions"=>[{"id"=>"FavoriteMovie", "answer"=>"Harry Potter"}, {"id"=>"FavoriteFood", "answer"=>"Chinese"}, {"id"=>"FirstPet", "answer"=>"Bouncer"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string | ||
Date | string | ||
x-content-sha256 | string |
RESPONSES
status: Created
{"schemas":["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorValidator"],"authFactor":"SECURITY_QUESTIONS","scenario":"ENROLLMENT","securityQuestions":[{"id":"FavoriteMovie","answer":"Harry Potter"},{"id":"FavoriteFood","answer":"Chinese"},{"id":"FirstPet","answer":"Bouncer"}],"meta":{"resourceType":"MyAuthenticationFactorValidator","location":"https://example.identitycloud.com/admin/v1/MyAuthenticationFactorValidator"},"userName":"jbloggs","status":"SUCCESS","mfaStatus":"ENROLLED","mfaPreferredDevice":"2b27b8c072d64b899d41c8470acea32a","mfaPreferredAuthenticationFactor":"PUSH","securityQuestionsPresent":true,"devicesCount":3,"emailFactorEnrolled":true}