mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 07:44:38 +02:00
make the error message more verbose in case a SAML request is missing in the response
This commit is contained in:
+1
-1
@@ -272,7 +272,7 @@ def paloalto_prelogin(conf, s, gateway=None):
|
||||
if msg is not None:
|
||||
msg = msg.strip()
|
||||
else:
|
||||
msg = 'Probably you need a certificate?'
|
||||
msg = 'Probably SAML is disabled at the portal? Or you need a certificate? Try another_dance=0 with some concrete gateway instead.'
|
||||
err('did not find saml request. {0}'.format(msg))
|
||||
if len(saml_req.text.strip()) == 0:
|
||||
err('empty saml request')
|
||||
|
||||
Reference in New Issue
Block a user