Skip to content

Redirect the user to the page he is trying to access by having it in the browser memory #288

@sneha-boopal

Description

@sneha-boopal

Requirement is that after a user logs in via Azure AD (or any identity provider really), they should be redirected to the page they tried to access. Meaning a flow like this:

User tries to access http://localhost:3000/products
App redirects them to log in with Azure AD
3)User is redirected back to the application, and should now see the product list instead of getting redirected to index page(http://localhost/products).
I tried by adding http://localhost:3000/products in redirectUri but still it is getting redirected to http://localhost:3000.
Is it achievable using msal and please provide if there are any sample apps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions