Open Closed

Menu disappears after staying idle for around 60 minutes (maybe more minutes) #5135


User avatar
0
oshabani created
  • ABP Framework version: v7.0.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: its shows nothing but menu goes off
  • Steps to reproduce the issue: Login to app and leave for 60 minutes idle or more then menu goes disappear while staying logged in. It looks like authentication is there but authorization is gone.


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

    hi

    Please try to add this method to your project.

    https://github.com/abpframework/abp/pull/16504

    We will fix it in the next version.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Your credit refunded.

  • User Avatar
    0
    oshabani created

    Thanks.

    I will try this but I see many changes in the above URL.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Only add this class and call it.

    https://github.com/abpframework/abp/blob/c9605cff37341eedb9d3d1dd6f8c467165cc1046/framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs

  • User Avatar
    0
    oshabani created

    Thanks it resolved the issue.

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