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

Add CORS and IPFS WebUI usage with remote Kubo RPC to Kubo Auth guide. #2000

Merged
merged 3 commits into from
Feb 26, 2025

Conversation

2color
Copy link
Member

@2color 2color commented Feb 25, 2025

Background

It's possible to use IPFS WebUI with a remote Kubo node, but this isn't well documented . Since this came up in https://discuss.ipfs.tech/t/json-web-tokens-and-the-ipfs-desktop-app-for-mac/19033/2 I decided to figure out how to configure this and document this.

@@ -90,6 +101,95 @@ ipfs id --api /dns/YOUR_DOMAIN/tcp/443/https --api-auth basic:hello:world123

If successful, you should see your node's identify displayed. The command connects to your Kubo node through the secure HTTPS endpoint using basic authentication.

## Configuring CORS for use with IPFS Web UI

In this step, we will configure [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) to allow the [webui.ipfs.io](https://webui.ipfs.io/) to access the Kubo RPC API.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace http://webui.ipfs.io/ with http://webui.ipfs.tech/ once deployed,

@2color 2color changed the title docs: add info on using IPFS WebUI with Kubo RPC with CORS and basic http auth Add CORS and IPFS WebUI usage with remote Kubo RPC to Kubo Auth guide. Feb 26, 2025
Copy link
Contributor

🚀 Build Preview on IPFS ready

@2color 2color merged commit 55dba79 into main Feb 26, 2025
7 checks passed
@2color 2color deleted the refine-kubo-auth branch February 26, 2025 13:14
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.

1 participant