Research-IT-Swiss-TPH / pdf-form-filling-api

API to read, fill and flatten PDF forms.
https://143.198.242.211.sslip.io/
0 stars 2 forks source link

Add Authentication and Authorization #38

Open tertek opened 1 month ago

tertek commented 1 month ago

Auth Specification:

Authentication will be based on Username and Password. Authorization will be based on Role-Based Access Control (RBAC), see SlimBook Vol.3, p. 55.

We will use different authorization implementations, depending on the route types:

Session based authorization for front-end routes, such as user pages. JWT stateless authorization for protected API routes.

tertek commented 1 month ago