<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
0D54z00008jVI5UCAWOkta Classic EngineAPI Access ManagementAnswered2024-07-08T09:41:48.000Z2023-02-01T07:49:45.000Z2023-02-04T00:55:54.000Z

opea0 (opea0) asked a question.

OKTA Reactivate user verification link and redirect API

Hi Team,

I am implementing Okta API using Java SDK.

I have implemented 2 scenarios.

1) One will create user in Okta.

2) Another one will activate and trigger mail. I am sending activate(false), so we are customizing the mail template.

I have 2 questions here,

 

 

Question-1

Once user got activated the status is 'Pending User Action'. Once user click on verify link in mail, then status turns to 'ACTIVE'.

But what would be the scenario, if user click on the link after it expires.

I have seen one API, reactivate user to trigger mail again. But in JAVA SDK, where should I invoke this API? How I will come to know whether user is clicked on link or not after 7 days default time?

My expectation is, after it expires, and user click on that it should by default redirected to activate API.

 

Questions-2 Once user clicked on activation link, it is asking user to set password. Once user provided the password and click on submit button it is taking user to okta portal rather redirecting to web application. Is there any way we can redirect user to application?

Requesting you to provide your thoughts on this.

 

 


  • Mihai N. (Okta, Inc.)

    Hi @opea0 (opea0)​ , Thank you for reaching out to the Okta Community!

     

    To answer your questions: 

     

    Q1: If the user clicks the activation link after it expired, they would get a notification informing them that the token expired. Something like this:

    image 

     

     I would say that there should be no expectation for automation for this scenario - if the link expired, the user is stuck and Admin intervention is required for security purposes. Otherwise setting expiration limits would be pointless. 

     

    Q2: The following article should cover this: 

    https://support.okta.com/help/s/article/How-to-redirect-users-to-a-different-landing-page-after-User-Activation?language=en_US

     

     

    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 my answer helps! 

    --------------------------------

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
  • Mihai N. (Okta, Inc.)

    Hi @opea0 (opea0)​ , Thank you for reaching out to the Okta Community!

     

    To answer your questions: 

     

    Q1: If the user clicks the activation link after it expired, they would get a notification informing them that the token expired. Something like this:

    image 

     

     I would say that there should be no expectation for automation for this scenario - if the link expired, the user is stuck and Admin intervention is required for security purposes. Otherwise setting expiration limits would be pointless. 

     

    Q2: The following article should cover this: 

    https://support.okta.com/help/s/article/How-to-redirect-users-to-a-different-landing-page-after-User-Activation?language=en_US

     

     

    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 my answer helps! 

    --------------------------------

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
This question is closed.
Loading
OKTA Reactivate user verification link and redirect API