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
If a passed in 'aud' is an empty list [] then it will not be validated yet will still pass the essential claims validation as the checks are performed in two different ways. This may extend to other claims as well.
An exception should be raised in validate_aud(). I'm not sure if one should be raised when checking essential claims since technically the claim is there.
Environment:
OS: Linux
Python Version: 3.8
Authlib Version: 1.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug
If a passed in 'aud' is an empty list [] then it will not be validated yet will still pass the essential claims validation as the checks are performed in two different ways. This may extend to other claims as well.
To Reproduce
Expected behavior
An exception should be raised in validate_aud(). I'm not sure if one should be raised when checking essential claims since technically the claim is there.
Environment:
The text was updated successfully, but these errors were encountered: