diff --git a/microsoft_auth/client.py b/microsoft_auth/client.py index 8243183d..25fcd699 100644 --- a/microsoft_auth/client.py +++ b/microsoft_auth/client.py @@ -151,11 +151,11 @@ def get_claims(self, allow_refresh=True): claims = jwt.decode( token, public_key, - algoithm="RS256", + algorithms=["RS256"], audience=self.config.MICROSOFT_AUTH_CLIENT_ID, ) except jwt.PyJWTError as e: - logger.warn("could verify id_token sig: {}".format(e)) + logger.warn("could not verify id_token sig: {}".format(e)) return None return claims