You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using google.JWTConfigFromJSON to read credentials from a google service account JSON config file. We're are then using these tokens with an internal service. This service requires the kid field in the JWT header, however x/oauth2/jwt does not set the header.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
We are using google.JWTConfigFromJSON to read credentials from a google service account JSON config file. We're are then using these tokens with an internal service. This service requires the kid field in the JWT header, however x/oauth2/jwt does not set the header.
https://play.golang.org/p/xEDTBIsxXZ
If we use google.JWTAccessTokenSourceFromJSON, the correct headers are sent, but that provides no way to set scopes, or get an oauth2.Config
What did you expect to see?
kid header should be set.
What did you see instead?
kid header not set.
The text was updated successfully, but these errors were encountered: