Starts in:
1 DAY
16 HRS
32 MIN
20 SEC
Starts in:
1 D
16 H
32 M
20 S
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 November 20, 2024, 13:06