From a3c5bb62e8b98f67363b735a200ab7ca38b06744 Mon Sep 17 00:00:00 2001 From: "Cyril Dutrieux (cydu)" Date: Thu, 19 Dec 2024 11:41:01 +0100 Subject: [PATCH] run precommit --- auth_saml/README.rst | 4 ++++ auth_saml/tests/fake_idp.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/auth_saml/README.rst b/auth_saml/README.rst index ac6877f56e..024fe35a38 100644 --- a/auth_saml/README.rst +++ b/auth_saml/README.rst @@ -81,6 +81,10 @@ by using the query parameter ``disable_autoredirect``, as in ``https://example.com/web/login?disable_autoredirect=`` The login is also displayed if there is an error with SAML login, in order to display any error message. +If you are using Office365 as identity provider, set up the federation metadata document +rather than the document itself. This will allow the module to refresh the document when +needed. + Usage ===== diff --git a/auth_saml/tests/fake_idp.py b/auth_saml/tests/fake_idp.py index a73b57d40f..e2043f468e 100644 --- a/auth_saml/tests/fake_idp.py +++ b/auth_saml/tests/fake_idp.py @@ -38,7 +38,7 @@ "endpoints": { "single_sign_on_service": [ ("%s/sso/redirect" % BASE, BINDING_HTTP_REDIRECT), - ("%s/sso/post" % BASE, BINDING_HTTP_POST), + ("%s/sso/post" % BASE, BINDING_HTTP_POST), ], }, "policy": {