cancel
Showing results for 
Search instead for 
Did you mean: 
ain
Surveyor

jwks format in canvas

Can I know why canvas kid in jwk canvas return kid as date format? How actually the kid is define in that format. As we are having an error cannot found the keyid from canvas as it return the format of date. 

This is return by canvas

"kid":"2018-05-18T22:33:20Z"}

As previouly in Moodle and Blackboard it return the kid as atring and we are able to launch our tool already.

As this is return in blackboard and moodle

"kid":"19rr770-6r66r-4467-bd70-8b4d1a51483c"
"kid": "f15g3774f6acc4740638e",

Anyone knows about this problem? Need some help!

Labels (3)
0 Kudos
1 Reply
svickers2
Surveyor

The kid value is just an opaque string used to identify a public key; it should not matter to the recipient what the format is, you just use it to look up the associated key in requests to the owner's JWKS endpoint.  I suspect Canvas uses a date format to make it more obvious when it rotates its keys, which is a good practice.