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 authenticated requests to HTTP API #173

Open
bnonni opened this issue Nov 4, 2024 · 0 comments
Open

Add authenticated requests to HTTP API #173

bnonni opened this issue Nov 4, 2024 · 0 comments

Comments

@bnonni
Copy link

bnonni commented Nov 4, 2024

I recall @csuwildcat mentioning this as either being impossible or very difficult, so feel free to let me know if this is a waste of time; however, regardless, I'd like to personally explore this feature as I think it could be beneficial for others long term.

Summary

It would be nice to be able to somehow send authenticated requests to the DWN HTTP API layer. Specifically, I'd like to use this feature in my project @bnonni/drpm.tools to enable my ability to construct DRLs for record creates. DRPM creates 2 DWN records: package and package/release. The current DRPM implementation toggles between DRLs for reads with an SDK fallback and SDK only for creates. Unifying and aligning install and publish such that both use DRLs as default and SDK as fallback would be nice.

Side Note

A side effect of this feature request presents the possibility for a specialized dwn-server implementation: a DRPM-registry-specific HTTP API layer. This specialized implementation of the dwn-server would be separate and called something like dwn-registry instead of dwn-server. Because of that, it is out of scope for this issue; however, its something that I plan to explore on my own, and impacts this project in a downstream way, so I at least wanted to mention it here.

Feel free to assign this to me if you think its worth exploring as I'd be happy to take this on. Thanks!

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

1 participant