Skip to content

Conversation

@gacevicljubisa
Copy link
Member

@gacevicljubisa gacevicljubisa commented Sep 23, 2025

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

This PR adds support for blockchain RPC endpoints that require basic authentication.

It parses credentials from the endpoint URL and sets the appropriate Authorization header for all RPC requests. The header is built using base64 encoding of the username and password in the format Authorization: Basic {base64(username:password)}. This resolves 401 Unauthorized errors when using providers that require HTTP basic auth. No effect if credentials are not present in the URL.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

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

Successfully merging this pull request may close these issues.

bug: auth in blockchain-rpc-endpoint is not used in all calls

2 participants