<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7V40SAFOkta Classic EngineIntegrationsAnswered2024-04-13T04:04:03.000Z2016-09-27T11:38:29.000Z2016-10-31T19:45:57.000Z
Adding Creds to new User created without Creds, via API
The app i'm working on creates a user without credentials and then when the user clicks on a link (via email) they specify a password and recovery question. All of this is done via the Java API.

 

The issue is that after setting the password, recovery question and setting the user to ACTIVE the user is still prompted for the recover answer and image after their first login (even though the user is ACTIVE).

 

The calls i'm making, via the Java API are (and i've tested this over REST as well and the result is the same):

 

client.setRecoveryQuestion(userId, question, answer);

client.setPassword(userId, userPassword);

client.activateUser(userId);

 

where 'client' is an instance of 'UserApiClient'.

 

What should i be doing so that the user not prompted at all?

  • Hi Martin!

     

    Currently, we do not have a specific command to input the Security Image setup, and as a general rule, the users will be prompted to set their security image until they actually do that.

     

    While this is expected behaviour, what I would recommend is to suggest this on the Okta Community by using the "Suggest a feature" option at the bottom right hand side of your Okta admin dashboard, or by logging in to your Okta Admin Panel -> Help and Training -> Community -> Ideas -> Submit an Idea.

     

    Thank you,

    Adrian
    Expand Post
This question is closed.
Loading
Adding Creds to new User created without Creds, via API