summaryrefslogtreecommitdiff
path: root/src/authn.py
Commit message (Collapse)AuthorAgeFilesLines
* Add read/write permissions to JWTs based on YAMLErnst Widerberg2022-01-131-112/+0
| | | | | | | - Uses Linus's YAML code, except with password stuff removed since auth-server-poc uses htpasswd. - The collector checks JWT on API endpoints get, get/{key}, and delete/{key}, but not on add.
* Use yaml.safe_load instead of yaml.loadKristofer Hallin2021-10-061-1/+1
|
* Use CouchDB, this might break things.Kristofer Hallin2021-09-231-2/+5
|
* add simple authentication based on a local yaml fileLinus Nordberg2021-09-151-0/+109
This allows for mapping username/password pairs to sets of organisations with 'r' or 'rw' permissions. To be replaced with an external service providing a JWT in an HTTP header.