2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 17:10:29 +01:00
website/accounts
2019-07-19 20:21:59 +02:00
..
accounts allow checking JWTs against multiple public keys 2019-07-19 19:00:07 +02:00
lambdas allow checking JWTs against multiple public keys 2019-07-19 19:00:07 +02:00
scripts clean up and add missing tests 2019-07-17 09:52:58 +02:00
tests allow checking JWTs against multiple public keys 2019-07-19 19:00:07 +02:00
.gitignore move authentication to jwt based token system handled by account app 2019-07-07 21:42:50 +02:00
bootstrap.yml add accounts and user CRUD and connect to auth layer 2019-07-16 09:53:49 +02:00
Makefile serialize account claims into JWT and check in middleware 2019-07-16 09:53:49 +02:00
README.md add README for accounts app 2019-07-05 20:50:31 +02:00
requirements-dev.txt add accounts and user CRUD and connect to auth layer 2019-07-16 09:53:49 +02:00
requirements.txt allow checking JWTs against multiple public keys 2019-07-19 19:00:07 +02:00
serverless.yml add iam role for accessing secrets manager 2019-07-19 20:21:59 +02:00

accounts

The accounts app is responsible for managing operator accounts and issuing authentication tokens that will identify requests made to the server and the kms service.

The application is built using the Flask framework.


Development

Commands

Install dependencies

pip install --user -r requirements.txt -r requirements-dev.txt

Run the development server

FLASK_APP=accounts FLASK_ENV=development flask run

Run the tests

make test

Auto format code using black

make fmt