Back-End Server Authentication
Register
First register a new server application using your username, email, and password using the REST API call POST Register New Server.
Get Access
Next, use your email and password to get access token to the API using the REST API call POST Sign In Server.
WARNING: Do not expose your Server access tokens in your user-facing frontend applications. Instead use the next two approaches to generate short-lived access tokens for the front-end.
The following API calls require your access token:
Create a user
Use the POST Create User API call to create a new user. You can optionally provide the email and role (provider, admin, other) of the user. The API will return the user_id to you.
Authenticate a user
Use the POST Login User API call to login a newly created user. The API will return the access_token and refresh_token which can then be passed on to the user to access the scribe API.