Spaces:
Sleeping
Sleeping
SyedAzlanzar
commited on
Commit
·
d98e0a6
1
Parent(s):
c4b3444
@debug : auth error 1.1
Browse files- app/auth/auth.py +1 -1
app/auth/auth.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
security = HTTPBearer()
|
7 |
def verify_token(credentials: HTTPAuthorizationCredentials = Depends(security)):
|
8 |
-
JWT_SECRET = os.getenv("JWT_SECRET_KEY"
|
9 |
ALGORITHM = os.getenv("ALGORITHM")
|
10 |
print(JWT_SECRET, ALGORITHM)
|
11 |
token = credentials.credentials
|
|
|
5 |
|
6 |
security = HTTPBearer()
|
7 |
def verify_token(credentials: HTTPAuthorizationCredentials = Depends(security)):
|
8 |
+
JWT_SECRET = os.getenv("JWT_SECRET_KEY")
|
9 |
ALGORITHM = os.getenv("ALGORITHM")
|
10 |
print(JWT_SECRET, ALGORITHM)
|
11 |
token = credentials.credentials
|