The API Endpoints need to be made secure and reliable. For this, the LTI connection should be considered and the resulting cookie should be used for authentication if a user is allowed to access the endpoint or not.
Describe the Impact on the System
This will only impact the endpoints in a small way, since this can be done with a decorater above the code.
Definition of Done
What needs to be done, before the Issue can be closed?
[ ] Linting Code to Python standard
[ ] Testing code with Pytest. All tests within the system should still be ok.
[ ] Implementing the authenticator decorater above the endpoints
[ ] Checking for access and implementing 401 Unauthorized errors
Describe the feature to be developed
The API Endpoints need to be made secure and reliable. For this, the LTI connection should be considered and the resulting cookie should be used for authentication if a user is allowed to access the endpoint or not.
Describe the Impact on the System This will only impact the endpoints in a small way, since this can be done with a decorater above the code.
Definition of Done What needs to be done, before the Issue can be closed?