Open Closed

Infinite token refresh cycle for a deactivated user #5504


User avatar
0
pavel.maskevich created
  • ABP Framework version: v7.2.3
  • UI Type: Angular / MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no - separated
  • Exception message and full stack trace:
  • Steps to reproduce the issue: run angular + .net default template -> login with admin account -> deactivate yourself -> clear local storage -> refresh page

as a workaround to break this endless loop by doing the following: open an extra tab in your browser -> navigate to the authentication server app -> click the logout button.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

4 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Hello,

    Why you clear local storage manuel instead using logout button ? Yet I'll open an issue about the "what's gonna happend after deactive yourself".

    If you use logout button, there won't be any problem in case

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Also I've created an issue for the prevent de-active yourself you can check Issue

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    pavel.maskevich created

    Hello,

    I clear the local storage, that allow as to check what happens if the token expires (including for a deactivated user)

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Hello,

    I clear the local storage, that allow as to check what happens if the token expires (including for a deactivated user)

    Normally if token expires, it'll logout or uses refresh_token

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 05, 2026, 11:32
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.