Skip to content

Conversation

@akramhussein
Copy link
Contributor

Motivation

When connecting to remote/hosted nodes, they often require some form of authentication. This is either in the URL as a query or url parameter.

However, in the case of BlockDaemon, it’s an HTTP header X-Auth-Token.

Solution

I found the only way to address this was to add another environment variable GETH_HEADERS that allows you to pass in a comma separated list of key:values.

Open questions

None

@akramhussein
Copy link
Contributor Author

See #44

@akramhussein akramhussein deleted the geth-headers-2 branch July 15, 2021 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant