adapt-security / adapt-authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
http://adaptlearning.org
10 stars 5 forks source link

Authentication: Initial setup #61

Closed canstudios-nicolaw closed 4 years ago

canstudios-nicolaw commented 4 years ago

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.

canstudios-nicolaw commented 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.

taylortom commented 4 years ago

Done https://github.com/adapt-security/adapt-authoring-auth