You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facilitate validation of JWTs from non-Gen3 issuers by adding ability to
fetch and cache a JWK set from a non-Gen3 server. Authutils will first look
for a jwks_uri at .well-known/openid-configuration and fall back to the
legacy Gen3 /jwt/keys endpoint. Keys are serialized to PEM and stored (as
before) in flask.current_app.jwt_public_keys. (#52)
Improvements
Account for JWTs in which the scope claim is a space-delimited string (use
split instead of just putting scope value in list). We expect RAS visas/all
GA4GH embedded tokens to have scope claims with this format. (#52)
Add custom scopes validation and revert aud validation to default; services
(eg Fence) will stop using the aud claim for scopes. Changes are in
token.validate_jwt and core.validate_jwt as well as the require_auth_header
decorator. (#47)