IdentityServer client authentication with public/private keys instead of shared secrets

前端 未结 2 747
予麋鹿
予麋鹿 2021-02-02 01:30

I\'m trying to use public/private keys instead of a shared secret for client secrets with IdentityServer4. This approach is documented here.

If it was a shared secret,

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 02:04

    I think it has to be a signed JWT. Check out the PrivateKeyJwtSecretValidator class in the IDS4 codebase:

    https://github.com/IdentityServer/IdentityServer4/blob/2.1.3/src/IdentityServer4/Validation/PrivateKeyJwtSecretValidator.cs

提交回复
热议问题