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

Support for Basic authentication for networks #375

Open
ferjep opened this issue Jun 14, 2022 · 0 comments
Open

Support for Basic authentication for networks #375

ferjep opened this issue Jun 14, 2022 · 0 comments

Comments

@ferjep
Copy link

ferjep commented Jun 14, 2022

Is your feature request related to a problem? Please describe.
For nodes behind http auth it's a problem. We can't provide user and password to defaultNodeUrl or rpcUrl. Unless we do it within the url

Describe the solution you'd like
Web3js provides the possibility to add headers to the provider. Maybe headers support is more useful for other cases. That'd be my way to go

Describe alternatives you've considered
Include the user and password in the URL itself http://user:password@url.

Additional context
null

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

No branches or pull requests

1 participant