Open Closed

Login Issue in ABP application #5252


User avatar
0
isteer created

Hello Team,

OUR ABP CONFIGURATION:

ABP Framework version: v7.0.0 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): Tiered MVC

Issue:

i. When logging in, the authserver goes into a loop reloading the same page over and over for sometimes up to 5 minutes before logging in.

1. This also happens when the session expires and the system throws a
	401 error. When clicking the Back to homepage button, it seems the
	user is automatically logged in and the reloading cycle starts.
	

ii. When a user is inactive on the system for anything between 10 minutes and 1+ hours, the system seems to clear the session and the claims are removed.

1. When the user logs in again, the menu items are not available

2. The system should allow a user to be inactive for at least an hour,
	but if there is any activity, the session should remain active.
	

Site link :

https://web.stage.careermaps.co.uk/ https://authserver.stage.careermaps.co.uk/ https://host.stage.careermaps.co.uk/swagger/index.html

Thanks


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

    Hi,

    I did not reproduce this problem using the website you shared, can you share the full steps to reproduce? thanks.

  • User Avatar
    0
    isteer created

    Hello,

    Above shared steps are only steps to reproduce, if session get idle for sometime, or you logged in system for more than 1-2 hours then issue get reproduced.

    Thanks, Ankit

  • User Avatar
    0
    isteer created

    Hello Same issue we faced before and we follow your suggestions mentioned in the below ticket, so now if session expired it takes us to unauthorized page but if you try to logout and login again it keeps loading page again and again

    https://support.abp.io/QA/Questions/4837/Token-expiration-not-handled-properly

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    ok,

    I will try reproduce the problem.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We add a new feature in the version 7.3: https://github.com/abpframework/abp/pull/16504

    It should fix the problem.

  • User Avatar
    0
    isteer created

    Hello,

    Can you suggest what should we change in current version as we can not upgrade to new version at this moment ?

    Thanks, Ankit

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can check this: https://support.abp.io/QA/Questions/5022/User-timeoutpermission-behaviour

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