Added OIDC - JWT Access Token validation tutorial - lint fix

This commit is contained in:
Sander Brandenburg 2023-09-19 23:32:28 +02:00
parent 11207e80f3
commit 061bb458cf
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class AccessTokenValidator(HTTPBearer):
raise HTTPException( raise HTTPException(
status_code=HTTP_400_BAD_REQUEST, status_code=HTTP_400_BAD_REQUEST,
detail="Unsupported authorization code", detail="Unsupported authorization code",
) ) from None
# 4. if security scopes are present, validate them # 4. if security scopes are present, validate them
if security_scopes and security_scopes.scopes: if security_scopes and security_scopes.scopes: