Skip to content

Cache keys in ITokenValidableExtension.AreTokensValidAsync #948

@meum

Description

@meum

Is your feature request related to a problem? Please describe the problem.

Every time I call AreTokensValidAsync, I see two requests to login.microsoftonline.com. One to /common/.well-known/openid-configuration and one to /common/discovery/keys.
I assume these keys don't change very often, so they should be cached.

Describe the solution you'd like.

I would like the keys to be cached, to avoid these two requests being repeated so often.

Additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions