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

Added JWT authentication to the API #40

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Added JWT authentication to the API #40

merged 2 commits into from
Oct 2, 2024

Conversation

jclapis
Copy link
Collaborator

@jclapis jclapis commented Oct 2, 2024

SW module implementation of nodeset-org/hyperdrive-daemon#32.

Based on @poupas's suggestions, this adds authentication to the daemon API via JWT. The API server will now start up with its own key, and clients must use it to authorize any requests they send. Since this has a Hyperdrive client built in, it also needs the key used by the Hyperdrive daemon's API server so it can send its own requests.

@jclapis jclapis added the enhancement New feature or request label Oct 2, 2024
@jclapis jclapis added this to the v1.1.0 Beta 2 milestone Oct 2, 2024
@jclapis jclapis requested a review from huy-nodeset October 2, 2024 08:53
@jclapis jclapis self-assigned this Oct 2, 2024
huy-nodeset
huy-nodeset previously approved these changes Oct 2, 2024
@jclapis jclapis merged commit 3101b38 into main Oct 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants