Add gRPC Support, Fix PreAuth Key/Routes API, and Enable Display Name for User Creation #82
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description:
This PR introduces several improvements and bug fixes to enhance the functionality and usability of
headscale-admin. Below is a summary of the changes:✅ Key Additions & Fixes
gRPC Integration
headscalebackend. This improves performance and simplifies interactions with gRPC-based APIs.API Endpoint Fixes
/api/v1/preauthkey: Resolved issues with pre-auth key creation and retrieval, ensuring seamless integration withheadscale./api/v1/routes: Corrected route management functionality, enabling proper enable/disable operations for advertised routes.Enhanced User Management
displayNameSupport: Users can now create users with an optionaldisplayNamefield, improving user identification and organization in larger deployments.🧪 Testing & Validation
All changes have been tested locally and verified against the latest
headscalev0.26.1 backend. The gRPC integration has been validated for compatibility with both existing and new API endpoints.📝 Notes for Reviewers
displayNamefeature is backward-compatible and does not affect existing user data.This PR aligns with the project’s goal of providing a modern, stateless web interface for
headscalewhile addressing critical bugs and expanding functionality. Let me know if further adjustments or clarifications are needed!