👤Account Creation and Authentication

This section details the different types of account creation.

Account creation is necessary in order for the application to be utilized effectively. There are two main categories of registration:

This type of account registration is targeted towards the administrative users of the application, as they have more privileged access to the API service of Elixir. Registration is done with an endpoint specifically designed for administrative registration. Requirements include a unique email address and a password.

curl -X POST api/v1/auth/register-admin -H 'Content-Type: application/json' -d '{ "email": "user@example.com", "password": "password123" }'

Authentication/Authorization methods include:

  • Json Web Tokens

  • OAuth2.0 / Auth0 (for patient registration)

Password change and reset endpoints are also made available.

POST token/forgot-password
POST auth/change-password

Last updated