Implement auth GUI
Implement GUI for the /auth/...
endpoints:
- GET
/auth/users
- Lists the usernames of the currently added users. These should be displayed in GUI along with a delete button. - DELETE
/auth/users
- Deletes the list of usernames sent to it. (as a JSON string list) - POST
/auth/users
- Adds the given dictionary of usernames/passwords to the users collection. - GET
/auth/enabled
- Respondstrue
/false
if auth is enabled/disabled. - POST
/auth/enabled
- Passtrue
orfalse
as the content to enable or disable auth.
Note: These endpoints are only accessible from loopback (inside the quest). Checking the endpoint that will be added in #27 (closed) before invoking them would make sense.