Skip to content

Improve public key fetching for IdTokenVerifier #930

@TimurSadykov

Description

@TimurSadykov

Current implementation of the public key fetching does refresh public keys every hour. If public certs refresh fails during refresh - ID token validation is blocked until refresh succeeds. Normally we expect that to be rare and transient, but we want to try to avoid it altogether.

Alternative solution is to check certificate field for expiration date and refresh when the date is close. Potentially we want to consider a combination of two.

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions