From 22dac34acf4c3da0fccd457f7eed2030d68a8e18 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 27 Nov 2025 16:23:44 +0000 Subject: [PATCH] fix: correct show_local URL path and hide subtitle when local login hidden - Update OIDC.md docs to show correct URL path (/?show_local=true, not /login) - Hide "Enter your credentials" subtitle when local login is hidden Related to #750 --- docs/OIDC.md | 2 +- frontend-modern/src/components/Login.tsx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/OIDC.md b/docs/OIDC.md index e34a07d..ecbcf91 100644 --- a/docs/OIDC.md +++ b/docs/OIDC.md @@ -13,7 +13,7 @@ Enable Single Sign-On (SSO) with providers like Authentik, Keycloak, Okta, and A * **Client ID & Secret**: From your IdP. 4. **Save**: The login page will now show a "Continue with Single Sign-On" button. -> **Tip**: To hide the username/password form and only show the SSO button, set `PULSE_AUTH_HIDE_LOCAL_LOGIN=true` in your environment. You can still access the local login by appending `?show_local=true` to the login URL. +> **Tip**: To hide the username/password form and only show the SSO button, set `PULSE_AUTH_HIDE_LOCAL_LOGIN=true` in your environment. You can still access the local login by appending `?show_local=true` to the URL (e.g., `https://your-pulse-instance/?show_local=true`). ## ⚙️ Configuration diff --git a/frontend-modern/src/components/Login.tsx b/frontend-modern/src/components/Login.tsx index 4eb775e..5d3e317 100644 --- a/frontend-modern/src/components/Login.tsx +++ b/frontend-modern/src/components/Login.tsx @@ -393,9 +393,11 @@ const LoginForm: Component<{ Welcome to Pulse -

- Enter your credentials to continue -

+ +

+ Enter your credentials to continue +

+