Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • Node Challenge Node Challenge
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Jobsity
  • Node ChallengeNode Challenge
  • Issues
  • #3

Closed
Open
Created Jun 09, 2024 by Nelson Lopes@nelson.npl

create /api-service/user/register

To register a user the API service must receive a request with an email address, user role and return a randomized password, like this:

Request example:

POST /register

  { "email": "johndoe@contoso.com", "role": "user" }  //role could be user/admin

Response example:

POST /register

  { "email": "johndoe@contoso.com", "password": "bda5d07453dfde4440803cfcdec48d92" }

Use JWT instead of basic authentication for endpoints.

Edited Jun 09, 2024 by Nelson Lopes
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking