调试 IdentityServer4 数据存储
Debugging IdentityServer4 data store
我正在查看 IdentityServer4 将所有访问令牌及其与用户的映射存储在哪里,但由于某种原因,该文档未涵盖该主题。它是存储在内存中还是轻型数据库中,我该如何调试它?
我正在使用 ASP.net Core + Identity Core。谢谢。
JWT 不会在任何地方持久化。 Identityserver 使用 PersistedGrantStore
(in memory by default with optional implementations for EF or REDIS) to keep refresh tokens and reference tokens (when you switch the default jwt token type to reference). You can find more info in this 一篇来自 IdSrv 贡献者的文章。
我正在查看 IdentityServer4 将所有访问令牌及其与用户的映射存储在哪里,但由于某种原因,该文档未涵盖该主题。它是存储在内存中还是轻型数据库中,我该如何调试它?
我正在使用 ASP.net Core + Identity Core。谢谢。
JWT 不会在任何地方持久化。 Identityserver 使用 PersistedGrantStore
(in memory by default with optional implementations for EF or REDIS) to keep refresh tokens and reference tokens (when you switch the default jwt token type to reference). You can find more info in this 一篇来自 IdSrv 贡献者的文章。