Authentication
Authentication related to Social
This authentication is only related to the /social
endpoints.
These endpoints are used to authorize yourself with the API server. All /social
routes require an authorization token to be included in the request.
Register
Register a new user profile.
You will need to send all of the required values in your POST
request:
The name
value must not contain punctuation symbols apart from underscore (_
).
The email
value must be a valid stud.noroff.no
or noroff.no
email address.
The password
value must be at least 8 characters.
You can now use your registered account to log in.
Login
Login with your registered user.
You can now use this access token as the Bearer token in the Authorization
header for all /social
endpoints.