Skip to content

Commit

Permalink
Make oidc_auth essential
Browse files Browse the repository at this point in the history
  • Loading branch information
Cellebyte committed Nov 19, 2020
1 parent f5d3efd commit 23b1798
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion oidc_auth/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@

# The Claims Options can now be defined by a static string.
# ref: https://docs.authlib.org/en/latest/jose/jwt.html#jwt-payload-claims-validation
'OIDC_CLAIMS_OPTIONS': {},
'OIDC_CLAIMS_OPTIONS': {
'aud': {
'essential': True,
}
},

# Number of seconds in the past valid tokens can be issued
'OIDC_LEEWAY': 600,
Expand Down

0 comments on commit 23b1798

Please sign in to comment.