We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f8a067 commit 5470b11Copy full SHA for 5470b11
1 file changed
atlassian_jwt_auth/frameworks/common/asap.py
@@ -11,7 +11,9 @@ def _process_asap_token(request, backend, settings):
11
response"""
12
token = backend.get_asap_token(request)
13
error_response = None
14
-
+ if token is None and not settings.ASAP_REQUIRED and (
15
+ settings.ASAP_REQUIRED is not None):
16
+ return
17
try:
18
if token is None:
19
raise NoTokenProvidedError
0 commit comments