-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix Exec not working with reverse proxy X-Nomad-Token #12925
Conversation
More context can be found under MR #10563. Essentially, there was still a corner case that didn't work because Exec depends on a token being set in Local Storage. This is what is being fixed here. Thanks! |
Hi @legege ! Thanks for the contribution and for the supporting test. There are a couple lint errors that should be fixed before merge; could you run |
@philrenaud Thanks for this quick review turnaround. Linting errors fixed. |
* Capture token secret on fetch * Fix tests * Fix lint errors
* Capture token secret on fetch * Fix tests * Fix lint errors
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
This fixes an issue with Exec feature not working when a reverse proxy is used to automatically inject X-Nomad-Token.