Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numerous improvements #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Jul 2, 2022

  1. - allow list of audiences to be checked, not just single

    - configure_with_multiple_jwt_issuers() can now be called with a list of dicts for issuers, instead of strings, in the format:
    ```python
    {
      'url': str, # complete url to the jwks file
      'name': str, # should match the iss claim,
      'audience': str|list[str] # audiences to allow from this issuer
    }
    ```
    - _authorize() (and calling functions) now accept an optional audience parameter allowing checks for a specific aud on decorators, etc
    - claims that are lists can now be checked with _authorize()
    - prevent exception if scope claim is not present
    dangoscomb committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    a3d29c6 View commit details
    Browse the repository at this point in the history