Skip to content

Commit 817f631

Browse files
committed
Remove RSA-SHA1 restriction
1 parent ca27889 commit 817f631

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/onelogin/saml2/auth.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,9 +498,6 @@ def __validate_signature(self, data, saml_type):
498498
if isinstance(sign_alg, bytes):
499499
sign_alg = sign_alg.decode('utf8')
500500

501-
if sign_alg != OneLogin_Saml2_Constants.RSA_SHA1:
502-
raise Exception('Invalid SigAlg, the %s rejected.' % saml_type)
503-
504501
signed_query = self.__build_sign_query(data[saml_type],
505502
data.get('RelayState', None),
506503
sign_alg,

0 commit comments

Comments
 (0)