aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authorisation/errors.py
AgeCommit message (Expand)Author
2023-03-09auth: introspection: Protect introspection endpoint...The introspection endpoint could contain privileged information, thus requires that the endpoint be protected. This commit ensures that a user has authenticated to the system and that the client they are using be one of the allowed clients. Frederick Muriuki Muriithi
2023-03-02auth: user registration: Rework error checking. Add email validationFrederick Muriuki Muriithi
2023-02-22auth: List data not linked to any group.Frederick Muriuki Muriithi
2023-02-08auth: groups: handle join requests.Frederick Muriuki Muriithi
2023-01-30auth: API: Retrieve a user's group...Add endpoint to retrieve the group in which the user is a member. Frederick Muriuki Muriithi
2023-01-28auth: Store error_code in Exception for flexibility...To allow for different error codes for the various exceptions, store the error_code in the exception objects and retrieve it from there when generating the response. Frederick Muriuki Muriithi
2023-01-04auth: Add `/register-user` endpoint...* gn3/app.py: register top-level error handlers. reorganise oauth2 blueprint. * gn3/auth/__init__.py: reorganise oaut2 blueprint. * gn3/auth/authentication/oauth2/views.py: reorganise oauth2 blueprint. * gn3/auth/authorisation/exceptions.py -> gn3/auth/authorisation/errors.py * gn3/auth/authorisation/groups.py: rename file/module * gn3/auth/authorisation/resources.py: rename file/module * gn3/auth/authorisation/views.py: Add `/register-user` endpoint * gn3/auth/blueprint.py: reorganise oauth2 blueprint. * gn3/errors.py: register top-level error handlers. Frederick Muriuki Muriithi