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
This commit is contained in:
parent
6db4ee7a3b
commit
22dac34acf
2 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -393,9 +393,11 @@ const LoginForm: Component<{
|
|||
Welcome to Pulse
|
||||
</h2>
|
||||
|
||||
<p class="mt-3 text-center text-sm text-gray-600 dark:text-gray-400 animate-fade-in delay-200">
|
||||
Enter your credentials to continue
|
||||
</p>
|
||||
<Show when={showLocalLogin}>
|
||||
<p class="mt-3 text-center text-sm text-gray-600 dark:text-gray-400 animate-fade-in delay-200">
|
||||
Enter your credentials to continue
|
||||
</p>
|
||||
</Show>
|
||||
</div>
|
||||
<form
|
||||
class="mt-8 space-y-6 bg-white/80 dark:bg-gray-800/80 backdrop-blur-lg rounded-lg p-8 shadow-xl animate-slide-up"
|
||||
|
|
|
|||
Loading…
Reference in a new issue