Skip to content
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

🐛 Remove Auth headers from request if auth is not needed #108

Merged
merged 1 commit into from
Aug 13, 2020

Conversation

abgeorge7
Copy link
Contributor

@abgeorge7 abgeorge7 commented Aug 7, 2020

Closes NIH-NCPI#8
Also doesn't send auth header if a url uses a proxy url

@abgeorge7 abgeorge7 added the bug Something isn't working label Aug 7, 2020
@netlify
Copy link

netlify bot commented Aug 7, 2020

Deploy preview for kf-ui-fhir-cohort-builder ready!

Built with commit 779a0bb

https://deploy-preview-108--kf-ui-fhir-cohort-builder.netlify.app

Copy link
Member

@znatty22 znatty22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think something is still not quite right. Here's what I'm doing:

  1. Launch dashboard with localhost (npm start and make sure to have localhost in my .env)
  2. Click Servers
  3. Change Localhost auth type from BASIC_AUTH to NO_AUTH
  4. Launch
  5. I'm seeing a Basic undefined in the Authorization request header

also doesnt send auth header if a url uses a proxy url
@abgeorge7
Copy link
Contributor Author

I cant reproduce :( whats your .env file?

Copy link
Member

@znatty22 znatty22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Huh I can't reproduce it either. Its working now..🤷‍♀️

@abgeorge7 abgeorge7 merged commit 02665f1 into master Aug 13, 2020
@abgeorge7 abgeorge7 deleted the fix/auth-header branch August 13, 2020 14:35
znatty22 added a commit that referenced this pull request Aug 14, 2020
## Release 0.3.0

### Summary

- Emojis: ♻️ x1, 🐛 x2
- Categories: Other Changes x1, Fixes x2

### New features and changes

- [#109](#109) - ♻️ Updating old default urls to be the KF dev and QA urls - [2c31931](2c31931) by [abgeorge7](https://github.com/abgeorge7)
- [#108](#108) - 🐛 Remove Auth headers from request if auth is not needed - [02665f1](02665f1) by [abgeorge7](https://github.com/abgeorge7)
- [#107](#107) - 🐛 Add missing env vars to Docker Compose - [4c66efd](4c66efd) by [znatty22](https://github.com/znatty22)
@znatty22 znatty22 mentioned this pull request Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dashboard sends null Authorization value for server's that do not require auth
2 participants