Skip to content

Error: kid must be provided in JWT header #1214

@nikkilocke

Description

@nikkilocke

Trying to use this app with a home-grown OpenId provider.

I get the error above. But, quoting from the OpenId docs at https://self-issued.info/docs/draft-jones-json-web-token-01.html#ReservedHeaderParameterName :

The "kid" (key ID) header parameter is a hint indicating which specific key owned by the signer should be used to validate the signature. This allows signers to explicitly signal a change of key to recipients. Omitting this parameter is equivalent to setting it to an empty string. The interpretation of the contents of the "kid" parameter is unspecified. This header parameter is OPTIONAL.

So why is it not optional in your implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions