Skip to content

Commit

Permalink
saml.client: Emit separate error message when validation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dezhidki committed Nov 9, 2022
1 parent a04f1f4 commit 4c7906f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timApp/auth/saml/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _do_get_saml_config(try_new_cert: bool, try_new_metadata: bool) -> Saml2Conf
log_warning(err)
errors.append(err)
except SignatureError as e:
err = f"SAML (new_cert={new_cert}, new_meta={new_meta}): Could not load SAML config: {e}"
err = f"SAML (new_cert={new_cert}, new_meta={new_meta}): Could not validate SAML metadata: {e}"
log_warning(err)
errors.append(err)

Expand Down

0 comments on commit 4c7906f

Please sign in to comment.