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 Basic Auth #42

Open
timmyers opened this issue Dec 16, 2020 · 3 comments
Open

Support Basic Auth #42

timmyers opened this issue Dec 16, 2020 · 3 comments

Comments

@timmyers
Copy link

There is currently no way to provide additional URL connection parameters.

For example, to connect to the Infura Filecoin API as an endpoint, a basic auth pair must be provided.

@dineshshenoy
Copy link

Cc: @magik6k

@eval-exec
Copy link

Is basic auth pair for websocket supported now ?

@Lukasz032
Copy link

This is actually a violation of JSON-RPC spec. Authentication data have to be provided as request parameters to be fully compliant. Example:

{
  "jsonrpc": "2.0",
  "method": "getmemberslist",
  "params": {
    "sid": "48aad439049ffb32a0a434156595340e",
    "group": "Testing1"
  }
}

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

4 participants