mirror of https://github.com/tiangolo/fastapi.git
Added OIDC - JWT Access Token validation tutorial - lint fix
This commit is contained in:
parent
11207e80f3
commit
061bb458cf
|
|
@ -71,7 +71,7 @@ class AccessTokenValidator(HTTPBearer):
|
|||
raise HTTPException(
|
||||
status_code=HTTP_400_BAD_REQUEST,
|
||||
detail="Unsupported authorization code",
|
||||
)
|
||||
) from None
|
||||
|
||||
# 4. if security scopes are present, validate them
|
||||
if security_scopes and security_scopes.scopes:
|
||||
|
|
|
|||
Loading…
Reference in New Issue