I would like to unit test our authentication code in python.
Now, we do have the app live which fetches fresh JWKS every hour - and validates the JWT token against that…
However, we want it to have unit tests for that.
I tried using the out-of-the-box options, external tools and what not - nothing worked.
I would respond with all that i have tried - if someone is curious about it.