Skip to content

Commit 7964e1c

Browse files
authored
Fix typo in code
I stumbled upon this typo while investigating a different issue in this file.
1 parent c7e81ba commit 7964e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal/oauth2cli/assertion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def create_normal_assertion(
115115
payload, self.key, algorithm=self.algorithm, headers=self.headers)
116116
return _str2bytes(str_or_bytes) # We normalize them into bytes
117117
except:
118-
if self.algorithm.startswith("RS") or self.algorithm.starswith("ES"):
118+
if self.algorithm.startswith("RS") or self.algorithm.startswith("ES"):
119119
logger.exception(
120120
'Some algorithms requires "pip install cryptography". '
121121
'See https://pyjwt.readthedocs.io/en/latest/installation.html#cryptographic-dependencies-optional')

0 commit comments

Comments
 (0)