
RandallK.28187 (Customer) asked a question.
I have added and verified a custom domain to be used with my Okta account. We partially manage our user password reset requests by emailing them the reset password URL that we retrieve from the okta rest api (lifecycle/reset_password) with sendEmail set to false. The resetPasswordUrl value that is returned reflects the dev-xxxx.oktapreview URL instead of the custom domain that was set up and working. Is there a way to request this URL to return my custom domain, or even just the password reset token?
Note - I was not able post examples of what I am using for request or what I am trying to achieve in my response due to restrictions of this input form's validation
Any info is appreciated. Thanks

Hello Randall,
Stefan here with Okta's Tech Support team.
When performing an API call, in order to obtain the password reset URL with the custom domain instead of the Okta domain the call has to be made with the custom URL as well.
If further assistance regarding this matter would be required, we strongly recommend you open a support ticket with us, and me or one of my colleagues will gladly assist.
Thank You,
Stefan Pescaru
Technical Support Engineer
Okta Global Customer Care