Açık Kapalı

After access token expire, does not redirect to login or refresh token #7418


User avatar
1
omer_yel oluşturuldu
  • ABP Framework version: v8.1.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hi, After access token expire, there is no activity on Blazor UI. At any user activity like navigating a page, a yellow alert appears at the bottom of page. User can not do any activity, until hard reload. Access token lifetime expires regardless of user activity. We expect that user must be sent to login page or token must be refreshed if access token is expired.

Here are occurred errors:

How can we solve this problem?


5 Cevap
  • User Avatar
    0
    liangshiwei oluşturuldu
    Destek Takımı Fullstack Developer

    I'm checking

  • User Avatar
    0
    omer_yel oluşturuldu

    Any progress?

  • User Avatar
    0
    liangshiwei oluşturuldu
    Destek Takımı Fullstack Developer

    Hi, you can try this.

    https://support.abp.io/QA/Questions/7023/accesstoken-expiration-is-not-triggering-the-signout-in-Blazor-Server#answer-3a11ddd7-72a3-0e6b-0a9d-0fba367df5e7

    I'm still checking and will find a better solution

  • User Avatar
    0
    omer_yel oluşturuldu

    We have already tried that solution. But it was not effective solution for us. It seem you can not solve the problem yet. So can you refund the ticket?

  • User Avatar
    0
    liangshiwei oluşturuldu
    Destek Takımı Fullstack Developer

    okay, i will let you know when i find a solution

Made with ❤️ on ABP v8.2.0-preview Updated on Mart 25, 2024, 15:11