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

Basic Authentication Support #26

Open
bmcd opened this issue Dec 2, 2019 · 1 comment
Open

Basic Authentication Support #26

bmcd opened this issue Dec 2, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bmcd
Copy link
Contributor

bmcd commented Dec 2, 2019

If you use azure/kaleido and use a basic auth url such as https://username:password@host:port, it doesn't work. Web3js uses XMLHttpRequest under the hood, which doesn't automatically turn the credentials into the Authorization header. Need to do this manually.

Also, we should probably add separate fields for username/password or auth token

@bmcd bmcd added the enhancement New feature or request label Dec 2, 2019
@bmcd bmcd self-assigned this Dec 2, 2019
@bmcd bmcd changed the title Basic Authentication is broken Basic Authentication Support Dec 2, 2019
@bmcd
Copy link
Contributor Author

bmcd commented Dec 3, 2019

http(s) basic auth is working, and websocket + basic auth is working in firefox but not chrome. I haven't been able to figure out what implementation difference in Chrome is causing it not to work. They may just not support basic auth with websockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant