I am trying to validate the JWKS stored in the resource server. One of the checks I have implemented is to check for the kid that I decode from the JWT and check for it in the configured resource server.
I went through the JWK RFC for "kid". In the rfc its mentioned that kid is a case sensitive string. But it is not clear from the doc, what values can the kid, hold. Is it valid for kid to just to have all numeric characters in the string. Also what is the maximum limit for the number of characters in the string, that kid can hold.