Skip to content

Only removes the authorization header when switching hostnames#334

Merged
arcanis merged 1 commit into
masterfrom
only-remove-auth-on-host-switch
Aug 5, 2019
Merged

Only removes the authorization header when switching hostnames#334
arcanis merged 1 commit into
masterfrom
only-remove-auth-on-host-switch

Conversation

@arcanis
Copy link
Copy Markdown
Member

@arcanis arcanis commented Aug 4, 2019

Followup to #329

This diff changes the logic that removes the Authorization header on redirects to instead only do this if the hostname changed. We maybe should find a way to update the mock server to add an endpoint with such a logic, although that would make it harder to use Verdaccio in the future 🤔

Can you confirm it works for your use case, @Js-Brecht?

@Js-Brecht
Copy link
Copy Markdown
Contributor

👍 Works well

@arcanis arcanis merged commit 25a2f00 into master Aug 5, 2019
@arcanis arcanis deleted the only-remove-auth-on-host-switch branch August 5, 2019 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants