As discussed in #599, currently the secret_fetcher option which can be passed to Guardian.decode_and_sign isn't taken into account when choosing the secret fetcher.
I added a test to verify this bug and implemented the reading of this option value in the fetch_secret_fetcher function.
ToDos:
[ ] Update documentation (docstrings) to reflect new option for JWT functions
[ ] Add test to verify correct behaviour on decode
[ ] Format code so satisfy Travis CI build
I'd be happy to review any feedback and suggestions for improvement.
As discussed in #599, currently the
secret_fetcher
option which can be passed toGuardian.decode_and_sign
isn't taken into account when choosing the secret fetcher.I added a test to verify this bug and implemented the reading of this option value in the
fetch_secret_fetcher
function.ToDos:
I'd be happy to review any feedback and suggestions for improvement.