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:

refresh_token_expired.png

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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10