Extend Management service to support user registartion #16

Open
opened 2025-11-20 05:04:55 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @braginini on GitHub (Jun 6, 2021).

Originally assigned to: @braginini on GitHub.

What
Add a REST endpoint to the Management server that registers a user.
There should be just one user (admin) and once it was registered there should be no registration required.
Similar to https://github.com/subspacecloud/subspace

Why
This is an essential step before enabling a peer management system.

How

  • Create a REST API layer in management/ (see request/response below)

  • Provision database table user and store required data (id, email, password hash).

  • Additionally add a flag (most likely in db) indicating that the initial registration has been done.

  • Create a follow-up story to extend registration with SSO

  • endpoint to register a user

    • request: email, password
    • response: ok
Originally created by @braginini on GitHub (Jun 6, 2021). Originally assigned to: @braginini on GitHub. **What** Add a REST endpoint to the Management server that registers a user. There should be just one user (admin) and once it was registered there should be no registration required. Similar to https://github.com/subspacecloud/subspace **Why** This is an essential step before enabling a peer management system. **How** - [ ] Create a REST API layer in management/ (see request/response below) - [ ] Provision database table user and store required data (id, email, password hash). - [ ] Additionally add a flag (most likely in db) indicating that the initial registration has been done. - [ ] Create a follow-up story to extend registration with SSO - endpoint to register a user - request: email, password - response: ok
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#16