chain-jslib icon indicating copy to clipboard operation
chain-jslib copied to clipboard

Support for Basic authentication for networks

Open ferjep opened this issue 2 years ago • 0 comments

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

ferjep avatar Jun 14 '22 22:06 ferjep