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

feat: provide example for kubo RPC auth #211

Closed
SgtPooki opened this issue Nov 20, 2023 · 2 comments · Fixed by #212
Closed

feat: provide example for kubo RPC auth #211

SgtPooki opened this issue Nov 20, 2023 · 2 comments · Fixed by #212
Assignees

Comments

@SgtPooki
Copy link
Member

Kubo just merged RPC auth support: ipfs/kubo#10187 and we should make sure kubo-rpc-client has an example showing how users would talk to a Kubo that has enabled auth secret.

@lidel
Copy link
Member

lidel commented Nov 20, 2023

+1, we should have example in https://github.com/ipfs/js-kubo-rpc-client#example with basic:user:pass and bearer:token scenarios.

cc @hacdias mind testing and updating https://github.com/ipfs/js-kubo-rpc-client#example to include it? (and fix the library if we don't have ability to set up Authorization header yet)

@hacdias hacdias self-assigned this Nov 22, 2023
@hacdias
Copy link
Member

hacdias commented Nov 22, 2023

Well, we kinda have the example already: https://github.com/ipfs/js-kubo-rpc-client#custom-headers 😅 I will expand on them to include Basic Auth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants