aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/jwks.py
AgeCommit message (Collapse)Author
2024-08-14fix: import timedelta in jwksJohn Nduli
2024-08-14refactor: move newest_jwk_with_rotation function to jwks.pyJohn Nduli
We have a similar jwk module in gn2 that does similar functionality. Moving the newest_jwk_with_rotation function to the module ensures that there's some consistency between both modules so that when we ever want to remove the duplication (e.g. by creating some python pip package) it's easier.
2024-07-31Simplify jwks_directory() functionFrederick Muriuki Muriithi
Pass in the app object rather than a path and compute the secrets directory within the function.
2024-07-18Add module to handle JWK filesFrederick Muriuki Muriithi