Skip to content

Support for Basic authentication for networks #375

@ferjep

Description

@ferjep

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions