The discussion revolves around the behavior of the SAML login in Discourse version 2.4.2. sbernhard misses the previous behavior where a landing page with a login button was displayed before the SAML login page. This is no longer possible in the current version, which displays the SAML login page immediately.
sbernhard shared a screenshot of the previous behavior and mentioned that enabling “local logins” brings back the landing page, but sbernhard does not want to have local login enabled.
Falco explained that the change was made to improve the SSO behavior, and david suggested a workaround by linking users to /login instead of the homepage.
sbernhard shared reasons for wanting the previous behavior, including displaying a nicer landing page and a minor security benefit. sam suggested that a plugin would be needed to change this behavior, but sbernhard is a developer and offered to submit a PR to add a configuration option.
david advised against adding more settings noise and instead suggested overriding the behavior in a plugin by patching a specific method. sbernhard thanked the team for their help and appreciated their work on Discourse.
On previous versions, a landing page was shown on which the “login” button appeared. Clicking this buttons showed the saml login page.
Personally, I really liked this behavior. With the current version 2.4.2 this isn’t possible any more as the saml login page is shown immediately.
After clicking on “Anmelden”, the SAML login window appeared.
If I enable “local logins”, the landing page with the login button appears again, but I do not want to have local login and therefore I need to disable it.
show a very nice landing page with some basic information instead of that “boring” login window
“security” (I know, its not really a big blocker). Cheap hacking scripts on the main URL (without the landing page) would fail hopefully as its required to press the login button first.
You are going to need to hire a dev here to build a plugin to change this. As it stands this is the first complaint I have heard about the new system in months.