Age | Commit message (Expand) | Author |
2023-07-06 | Provide the client_id as part of the post request. | Frederick Muriuki Muriithi |
2023-07-04 | Fix minor UI bug | Frederick Muriuki Muriithi |
2023-07-03 | Spruce up UI...Make UI somewhat consistent with the GN2 UI.
| Frederick Muriuki Muriithi |
2023-07-03 | Enable deletion of OAuth2 clients. | Frederick Muriuki Muriithi |
2023-06-30 | Edit some of the details of OAuth2 clients | Frederick Muriuki Muriithi |
2023-06-30 | List all OAuth2 clients. | Frederick Muriuki Muriithi |
2023-05-30 | Provide logout link. | Frederick Muriuki Muriithi |
2023-05-29 | auth: Enable registration of OAuth2 clients...Add UI and code to enable the administrative user to register new OAuth2
clients that can access the API server.
| Frederick Muriuki Muriithi |
2023-05-29 | Enable Administrator login on GN3...* gn3/auth/authentication/oauth2/views.py: Remove endpoint
* gn3/auth/authorisation/users/admin/__init__.py: New admin module
* gn3/auth/authorisation/users/admin/ui.py: New admin module
* gn3/auth/authorisation/users/admin/views.py: New admin module
* gn3/auth/views.py: Use new admin module
* gn3/errors.py: Fix linting errors
* gn3/templates/login.html: New html template
* main.py: Fix linting errors
| Frederick Muriuki Muriithi |
2023-05-27 | Document Use of OAuth2 Clients...* docs/authentication_and_authorisation/oauth2_clients.md: New documentation
* gn3/auth/authentication/oauth2/server.py: Raise appropriate error if no
client is found.
* gn3/auth/authentication/oauth2/views.py: Handle exception in the case where
a UI should be presented to the user, rather than presenting the raw JSON
response to the user.
* gn3/errors.py: Handle any authlib OAuth2Error at the application's top-level
* gn3/templates/oauth2/oauth2_error.html: Handle any authlib OAuth2Error at
the application's top-level
| Frederick Muriuki Muriithi |
2023-05-09 | auth: Implement "Authorization Code Flow"...Implement the "Authorization Code Flow" for the authentication of users.
* gn3/auth/authentication/oauth2/grants/authorisation_code_grant.py: query and
save the authorisation code.
* gn3/auth/authentication/oauth2/models/authorization_code.py: Implement the
`AuthorisationCode` model
* gn3/auth/authentication/oauth2/models/oauth2client.py: Fix typo
* gn3/auth/authentication/oauth2/server.py: Register the
`AuthorisationCodeGrant` grant with the server.
* gn3/auth/authentication/oauth2/views.py: Implement `/authorise` endpoint
* gn3/templates/base.html: New HTML Templates of authorisation UI
* gn3/templates/common-macros.html: New HTML Templates of authorisation UI
* gn3/templates/oauth2/authorise-user.html: New HTML Templates of
authorisation UI
* main.py: Allow both "code" and "token" response types.
auth/implement-authorization-code-flow | Frederick Muriuki Muriithi |