aspnet/DataProtection

How to make this working with Jwt Token?

joodies opened this issue · 1 comments

I'm using JwtSecurityTokenHandler to create bearer token. But it's not taking advantage of this component("PersistKeysToRedis").
Gotta specify the key separately.

While cookie is working great with this.

JWT Tokens don't use Data Protection in any way, they use whatever key material you provide. So ... you can't, because it doesn't apply.