-
Notifications
You must be signed in to change notification settings - Fork 23
pass headers to coder api #76
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
Comments
We can certainly do this! Would having a VS Code setting that allows the configuration of additional headers solve this? Then we can just set the global headers in Axios on change. |
@kylecarbs I've added support for VPN headers in #81 |
I accidentally closed this with some bad wording in the Coder PR, still need to merge in the plugin PR for this to be complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello coder team!
Our coder deployment is put behind a vpn so in order to send api calls to our control plan every request needs to have additional header holding our vpn session token.
in the vscode-coder code base, I noticed the user of axios, which can accept additional headers.
The problem resides in the fact that some of the api called are in the coder codebase and I'm not sure what's the preferred way to propagate those headers to the axios client in the coder coder base.
please advice on the preferred path and I'll be happy contribute!
The text was updated successfully, but these errors were encountered: