Ends in:
0 DAY
20 HRS
9 MIN
12 SEC
Ends in:
0 D
20 H
9 M
12 S
Open Closed

redirect to login page with returnUrl does not work after login #3187


User avatar
0
yasin.hallak.89@gmail.com created
  • ABP Framework version: v5.0.0

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): no

    Hi support ....

We have a probelm with returnUrl ....

when redirect to login page with returnUrl .. after login is going to home page ....

can you solve my problem ..please


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Please

    • Steps to reproduce the issue:"
  • User Avatar
    0
    yasin.hallak.89@gmail.com created

    Hi,

    Please

    • Steps to reproduce the issue:"

    I want to go to this returnUrl after login correctly like below :

    but it is going to home page not to the page specified with returnUrl

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can configure the redirect allowed URLs See: https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/appsettings.json#L6

    And: https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/MyProjectNameHttpApiHostModule.cs#L88

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19