When creating a user profile we are setting recovery question/answer. Creation of the question appears to work fine. When user is making a change we would like to verify the answer to recovery question. How can this be done?
We are able to create the user using the following code with java okta sdk:
User createdUser = UserBuilder.instance()
We are able to retrieve a user’s recovery question using createdUser.getCredentials().getRecoveryQuestion().getQuestion()
How can we match the answer user provides to the the answer stored in OKTA?