Skip to content

Redirect Issue in Incognito Mode #281

@AjinkyaVadane

Description

@AjinkyaVadane

Describe the bug

I hope this message finds you well. We are currently facing a challenge with the application1 in relation to the application2 redirection process, specifically when operating in Incognito mode on a browser.

Here’s a brief overview of the issue:

  • Requirement: When a user clicks the "Download Rules" link in the application1 while in Incognito mode, the expectation is to redirect the user directly to the /download-rules page in the application2.

  • Current Behavior: On the first click, the user is incorrectly redirected to the home page of the application2. It is only on the second click that the user is correctly redirected to the /download-rules page.

From my analysis, I have identified that the @okta/okta-react library is utilized for handling security aspects, particularly using the restoreOriginalUri attribute to Security component which is intended to manage redirections to the originally requested URLs. However, this functionality does not seem to be performing as expected under the conditions described.

Also the /downloadr-rules link has been added to the Sign-in redirect URIs inside Okta settings.

We would greatly appreciate any insights or guidance on how to address this issue. Thank you for your attention and support

Reproduction Steps?

While in incognito mode , On the first click, the user is incorrectly redirected to the home page of the application2. It is only on the second click that the user is correctly redirected to the /download-rules page.

SDK Versions

"@okta/okta-react": "^6.7.0"

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions