What will happen if the JWT does not include 'kid' header

Issue #290 resolved
Former user created an issue

When using nimbus-jose-jwt library for validating third party JWTs with remote JWKS endpoint, what will happen if the JWT does not include the "kid" header? Does it validate the JWT with the first JWK in the set of JWKs in the list?

Comments (1)

  1. Connect2id OSS

    It tries all keys in the JWK set until success, or the signature is assumed to be invalid.

    The idea of the "kid" is to spare all that.

  2. Log in to comment