Open Closed

How can I redirect the user to the previous URL after login? #5051


User avatar
0
chandler.valle created
  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Steps to reproduce the issue:"

For example.

If the user tries to access the URL (http://localhost:4200/identity/users). ABP will redirect to the login page (https://localhost:44374/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize.......).

After the user login, the ABP always redirects to the Home page (http://localhost:4200). I want to redirect to the admin page (http://localhost:4200/identity/users)

Thank you.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I guess https://github.com/manfredsteyer/angular-oauth2-oidc can do this. I will ask our angular team.

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi chandler,

    I created an Issue for this situation, that's why I'm closing this question

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09