about summary refs log tree commit diff
path: root/gn3/oauth2
AgeCommit message (Collapse)Author
2026-06-26Bug: Check for valid "Bearer" section.Frederick Muriuki Muriithi
2026-06-26Handle structurally invalid tokens.Frederick Muriuki Muriithi
In case the token passed is not a JWT, that's a structurally invalid token and will cause a DecodeError regardless of how many keys it's validated against, so it makes sense to bail early.
2025-02-28Fix linting errors.Frederick Muriuki Muriithi
2024-08-13Fix pylint errors.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-01Add `gn3.oauth2` module to handle authorisationsFrederick Muriuki Muriithi
Add the `gn3.oauth2` which will handle the authorisations. It is intended to eventually replace the `gn3.auth` module which is a left over from when the authorisation server was part of GN3.