Age | Commit message (Expand) | Author |
---|---|---|
2024-04-30 | Make returning an json object from oauth2_get optional....* gn2/wqflask/oauth2/client.py (oauth2_get): Add a jsonify_p key word that defaults to False. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-04-30 | Create constructors for encoding and decoding a token....* gn2/tests/unit/wqflask/oauth2/(__init__.py, test_tokens.py): Test cases for jwt token creation. * gn2/wqflask/oauth2/tokens.py (JWTToken): New module for creating jwt tokens. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-04-24 | Bug: use dict object on Response object. | Frederick Muriuki Muriithi |
2024-04-24 | Fetch message for authlib errors. | Frederick Muriuki Muriithi |
2024-04-24 | Send assertion as a string, not bytes. | Frederick Muriuki Muriithi |
2024-04-24 | DEBUG: log out request details...There is a failure on CI/CD that is not obvious - the logs should help with debugging the issue. | Frederick Muriuki Muriithi |
2024-04-23 | Separate the auth server's public key from app's private key...* Use the app's private key to sign the initial assertions used for retrieving an authorisation token from the auth server. * Use auth server's public key to validate the authorisation tokens got from the auth server. | Frederick Muriuki Muriithi |
2024-04-23 | Generate assertions to be used to get the token from the auth server | Frederick Muriuki Muriithi |
2024-04-23 | Use the JWT Bearer grant type | Frederick Muriuki Muriithi |
2024-03-26 | Use correct variable name....* gn2/wqflask/oauth2/client.py (no_token_post): "uri" does not exist. Replace it with "uri_path." Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Delete unused variable....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Implement "require_oauth2_edit_resource_access" decorator....* gn2/wqflask/oauth2/checks.py (require_oauth2): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Import user_logged_in from the clients module....Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Delete repetitive statement in "render_ui"....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Remove unused imports....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-26 | Delete "raise_unimplemented"....* gn2/wqflask/oauth2/groups.py: Remove unused "raise_unimplemented" import. * gn2/wqflask/oauth2/request_utils.py (raise_unimplemented): Delete function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> | Munyoki Kilyungi |
2024-03-07 | fix bugs. | Frederick Muriuki Muriithi |
2024-03-06 | Use AUTH_SERVER_URL setting from flask.current_app not gn2.utility.tools | Frederick Muriuki Muriithi |
2024-03-06 | Bug: Break circular import | Frederick Muriuki Muriithi |
2024-03-05 | Fix missed bug: Don't use `gn2.utility.tools` for configs. | Frederick Muriuki Muriithi |
2024-03-05 | configs: Fetch configs from app not `gn2.utility.tools`...Fetch configurations from the application, rather than from the `gn2.utility.tools` module that does not get the updated values from the secrets file. | Frederick Muriuki Muriithi |
2024-01-30 | Error reporting: Pass external error forward to GN2's error handling | Frederick Muriuki Muriithi |
2024-01-30 | Create framework for error handling and handle connection errors | Frederick Muriuki Muriithi |
2023-12-29 | Namespace all modules under gn2....We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. | Arun Isaac |