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
1 Answer(s)
-
0
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