Open macMikey opened 2 weeks ago
I see in code here for a jwt
So the feature could be as I understand, allow to add "kid"?
maybe. i have oauth2 working with service accounts with my 4d google lib. i have kid, and some of the other features i've identified in other issues implemented in my JWT generator (but that doesn't mean that it can't work without it. stay tuned, still testing/breaking the library).
this goes along with #71. see this comment for how i propose implementing this.
google service account docs for the jwt header includes a header kid, which is the private key id. this is described in Forming the JWT header example:
{"alg":"RS256","typ":"JWT", "kid":"370ab79b4513eb9bad7c9bd16a95cb76b5b2a56a"}