We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ebe02 commit f4222b2Copy full SHA for f4222b2
djangosaml2/views.py
@@ -170,7 +170,7 @@ def login(request,
170
try:
171
# do not sign the xml itself, instead us the sigalg to
172
# generate the signature as a URL param
173
- sigalg = SIG_RSA_SHA1 if getattr(conf, '_sp_authn_requests_signed', False) else None
+ sigalg = SIG_RSA_SHA1 if sign_requests else None
174
session_id, result = client.prepare_for_authenticate(
175
entityid=selected_idp, relay_state=came_from,
176
binding=binding, sign=False, sigalg=sigalg)
0 commit comments