User Creation With Okta API

Hi,

I am using Okta API to register user into my Okta sandbox, now i am able to create a user in Okta by changing following API calls

Step 1. https://{Okta sandbox URL}/api/v1/users?activate=true

by not sending password in API Call body.

Step 2. Register user into my application by sending the user id received from first API call.

Now when user click on link send in mail by first API call, it open page to set the password & security question for that user, but when user click on create account button instead of redirection user back to my application (for e.g. http://www.locathost/default) it redirect user to Okta page with option to Add Application Button.

What i need to change so that user should redirect to my application not on Okta page.

Thanks in advance.
Pradeep

1 Like