-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional headers during token refresh #483
Comments
Here is an example token source that supports custom refreshers:
One could easily take this forward and make the guard time configurable, too (#481). |
This would be useful to propagate tracing headers too. Besides, for new oauth2 requests, afaik the headers are hardcoded in an internal class: https://github.com/golang/oauth2/blob/master/internal/token.go#L173 (from current master c85d3e9) |
This was referenced Jul 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The VW api I'm working with (which is almost OAuth but then isn't) needs to receive the clientID in
X-Client-ID
header during token refresh. Would it be possible to add such header?The text was updated successfully, but these errors were encountered: