Create a delegate for fetching Open id Token Public Keys to allow caching of known public keys
Problem:
Each validation of an Id Token has a 1:1 fetch of Open Id Configuration and then the jwks_uri in the configuration. Under minor load, this becomes a latency issue. Furthermore, there's a need to have telemetry in services to measure this latency
Solution:
Split public key fetching from fetchKeyAndValidateSignatureOnIdToken into its own delegate
Validation:
Existing tests continue to work
Type of change:
[ ] Feature work
[x] Bug fix
[ ] Documentation
[ ] Engineering change
[ ] Test
[ ] Logging/Telemetry
Risk:
[ ] High – Errors could cause MAJOR regression of many scenarios. (Example: new large features or high level infrastructure changes)
[x] Medium – Errors could cause regression of 1 or more scenarios. (Example: somewhat complex bug fixes, small new features)
[ ] Small – No issues are expected. (Example: Very small bug fixes, string changes, or configuration settings changes)
Create a delegate for fetching Open id Token Public Keys to allow caching of known public keys
Problem: Each validation of an Id Token has a 1:1 fetch of Open Id Configuration and then the jwks_uri in the configuration. Under minor load, this becomes a latency issue. Furthermore, there's a need to have telemetry in services to measure this latency
Solution: Split public key fetching from fetchKeyAndValidateSignatureOnIdToken into its own delegate
Validation: Existing tests continue to work
Type of change:
Risk:
Work Item links: https://identitydivision.visualstudio.com/Engineering/_workitems/edit/1215158