Nextdoor / ndscheduler

A flexible python library for building your own cron-like system, with REST APIs and a Web UI.
BSD 2-Clause "Simplified" License
1.08k stars 202 forks source link

Optional user authentication #88

Closed palto42 closed 3 years ago

palto42 commented 4 years ago

This change adds an option for user authentication via configuration in the settingy.py module. Three new variables are defined in the settings:

If the AUTH_CREDENTIALS dict is empty, then the user "anonymous" will be used.

Previously I tried the BasicAuth implementation suggested in #53, but was not fully satisfied. Main things I missed was encrypted password storage and a logout option. The usage of secure cookies for authentication was suggested in the Tornado user guide.

GabrieleCalarota commented 3 years ago

What's missing here to be able to merge?