[Feature Request] Enable several JWE decrypt keys to help handling certificate rotations #72
Labels
API-breaking-change
duplicate
This issue or pull request already exists
enhancement
New feature or request
scenario: improved-security
web api
Milestone
Is your feature request related to a problem? Please describe.
We need to help partners using JWE to handle certificate rotation. Today,
microsoft-identity-web/src/Microsoft.Identity.Web/WebApiServiceCollectionExtensions.cs
Line 67 in 14b5a41
takes one certificate, which is used as an entry to TokenValidationParameters.
microsoft-identity-web/src/Microsoft.Identity.Web/WebApiServiceCollectionExtensions.cs
Lines 108 to 111 in 14b5a41
Describe the solution you'd like
When the certificates are rotated, we'd like to pass several certificates and:
See also https://github.com/AzureAD/microsoft-identity-web/wiki/Spec-certificates
See also SNI: AzureAD/microsoft-authentication-library-for-python#60
The text was updated successfully, but these errors were encountered: