Closed canstudios-nicolaw closed 4 years ago
See README on https://github.com/adapt-security/adapt-authoring-auth
Users can be created and have an email and password field. Passport authentication is used to authenticate credentials and provide a JSON Web Token on success. This can be used to access secure routes.
The aim of this task is to lay the foundations for future authentication work.
At the end of this body of work, it should be possible to use something like Postman to send the API login requests with an email/password and receive a success or fail depending on whether the password is correct.