Skip to content

Should the JWK "use" parameter be optional? #851

@FenTiger

Description

@FenTiger

Preflight checklist

Ory Network Project

No response

Describe your problem

Counterpart to likeandscribe/frontpage#237:

When using "private_key_jwt" authentication, Fosite refuses to accept keys which don't have "use": "sig".

RFC7517 states

Use of the "use" member is OPTIONAL, unless the application requires its presence.

Should there be a way to disable this check?

Describe your ideal solution

A way to disable this check; perhaps a way to customise the search for public keys without having to override the whole of DefaultClientAuthenticationStrategy().

Workarounds or alternatives

Adding the "use" parameter to frontpage.fyi's key, per likeandscribe/frontpage#237

Version

v0.46.1

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions