Skip to content

Commit c4c4a6f

Browse files
authored
Merge pull request #474 from OvervCW/patch-1
Fix typo in code
2 parents c8db376 + 7964e1c commit c4c4a6f

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)