Open Closed

Handling login mutex with OpenIDDict #3709


User avatar
0
xiexingen created
  • ABP Framework version: v6.0.0-rc.4
  • Scenes
  • step1 use admin login system,generate token ,we call this token is token1
  • in other browser also use admin login system, generate token2, at the same time token1 should is can no longer be used.

my thoughts

  • record token to cache as whitelist when user login generate token(at the same time remove this user other token)
  • while user request server vertify token check token are in cache when request . how to extend openiddict implement this need
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    You can custom the events model.

    See: https://documentation.openiddict.com/guides/index.html#events-model, https://github.com/openiddict/openiddict-core/issues/1477#issuecomment-1166658609

    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 September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.