diff --git a/AC/API_server/auth.py b/AC/API_server/auth.py index 5dc42ca..055dd2b 100644 --- a/AC/API_server/auth.py +++ b/AC/API_server/auth.py @@ -10,7 +10,7 @@ def verify_access_token(access_token): try: decoded_token = jwt.decode(access_token, public_key, issuer = ISSUER, - algorithm = 'RS256') + algorithms = 'RS256') except (jwt.exceptions.InvalidTokenError, jwt.exceptions.InvalidSignatureError, jwt.exceptions.InvalidIssuerError,