<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
0D54z00007mR0o5CACOkta Identity EngineWorkflowsAnswered2022-07-07T22:11:44.000Z2022-07-06T19:09:40.000Z2022-07-07T22:11:43.000Z

EdwinA.63024 (Customer) asked a question.

Create Users Workflow API - How to set a temporary password

I'm using the Okta Connector in Workflow to use the Users API. I am passing a string of text as the password and it works for authentication. Is there a way to force this user to reset their temporary password during their initial login? I was not able to find anything on the Create User card

 

/help/servlet/rtaImage?refid=0EM4z000004ISoH


  • Mihai N. (Okta, Inc.)

    Hi @EdwinA.63024 (Customer)​ , Thank you for reaching out to the Okta Community!

     

    The Okta Users API collection has a dedicated call for "Create Activated user without credentials" - it's basically the same as "Create user without credentials" but you append ?activate=true - this allows you to create the user, then it triggers the activation which sends an email to the user with "Welcome to Okta". In there, is a link that initiates the first login and they are prompted set up a password. Should be something like this:

     

    POST {{url}}/api/v1/users?activate=true

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope it helps! 

    Expand Post
This question is closed.
Loading
Create Users Workflow API - How to set a temporary password