Redirect to Set password page not working in my react application

I am developing an okta based application. On a link, we want to redirect user to the set password page of okta.
I have checked many blogs but didn’t find anything relevant document.
is there any way that we can redirect the user to set a password instead of the login page