Open Closed

refresh token expiration error #1120


User avatar
0
elod.csiszer created

Hi, we are using ABP Commercial 4.2.2 with Angular and Entity Framework. We are having an issue with the refresh token expiration, we changed the refresh token to have a shorter lifetime (30 days) and after the refresh token expires the application is not loading anymore, the following errors are displayed in the console:

We managed to reproduce the issue with a newly generated abp project (angular, entity framework).

You can reproduce this by following steps: 1. setting a short expiration time for the refresh token in the database (couple of minutes for example) 2. login to the application 3. wait for refresh token to expire 4. reload the application

Can you suggest some solution for this problem? Thank you!

<br>

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core

1 Answer(s)
  • User Avatar
    0
    Mehmet created

    Hi,

    The problem has been resolved. You can see the PR. You can update your app to v4.3.0-rc or wait for until the v4.3.0 stable version is released to update. I am closing the question. If you will encounter any problems after the updating, please let me know.

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