如何配置身份服务器 4 以在生成的令牌中包含 JTI 声明?

How to configure identity server 4 to include JTI claim in generated token?

有没有办法配置 Identity Server 4,使其自动在生成的令牌中包含 JTI(唯一标识符)声明?

这比我原先想象的要容易..

对于每个身份服务器客户端实例,都有一个默认为 false 的 "IncludeJwtId" 属性。如果您想在访问令牌中使用 JTI,则需要将此设置为 true。

Identity Server Client Documentation

文档现在说 IncludeJwtId 默认为 trueIdentity Server Client Documentation