Open Closed

Refresh token mechanism in Blazor Server #7955


User avatar
0
neethucp created

Hi,

We are getting unauthorized message in the application when the token expires. Can you please help on how to implement refresh token mechanism so that the user is not redirected to login page before saving the changes.

  • ABP Framework version: v8.2.3
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server) /
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

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

    Hi,

    After check , no meaning to implement it, because you have to refresh current page to use the refresh token to get new access token.

  • User Avatar
    0
    neethucp created

    Hi,

    We have this issue raised by the customer that they are getting "Unauthorized" message while they are in the middle of updating some forms and they are forced to reload the page without saving the updates they made. That is the reason that we are looking for a refresh token mechanism so that they don't get the unauthorized messages while they are actively using the application.

Made with ❤️ on ABP v9.0.0-preview Updated on September 27, 2024, 06:34