Adding Custom Header
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
We are using google Oauth library to get idTokenCredentials. In our organization we have to use forward proxy to connect to googleapi.com/token. The other system which does forward proxy needs additional header and am not finding option to add as library does it all.
Also, i looks for JWT token claims which will help us to prepare JWT ourself and pass it on request to get the IDToken.
We have some docs in the README regarding proxy here.
Could you try that and see if that helps your use case?
In our organization we have to use forward proxy to connect to googleapi.com/token. The other system which does forward proxy needs additional header and am not finding option to add as library does it all.
I don't think we have built-in support for adding a custom headers/ values to the getToken() calls. Can you elaborate a bit more about this (which calls are needed, which credentials are affected, etc).
Downgrading to p3 while waiting for customer response. Can update priority with more information.
Closing this issue as there hasn't been a response in a while. If this issue persists or there are further responses, we can re-open the issue.