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 dfb0f1d commit ce04e77Copy full SHA for ce04e77
djangosaml2/views.py
@@ -170,8 +170,8 @@ def login(request,
170
try:
171
# do not sign the xml itself, instead use the sigalg to
172
# generate the signature as a URL param
173
- sig_alg_option_map = {'sha1': SIG_RSA_SHA1',
174
- 'sha256': SIG_RSA_SHA256'}
+ sig_alg_option_map = {'sha1': SIG_RSA_SHA1,
+ 'sha256': SIG_RSA_SHA256}
175
sig_alg_option = getattr(conf, '_sp_authn_requests_signed_alg', 'sha1')
176
sigalg = sig_alg_option_map[sig_alg_option] if sign_requests else None
177
session_id, result = client.prepare_for_authenticate(
0 commit comments