fix(auth): honor SSO-only CLI recovery without restart (#1810)

This commit is contained in:
Anso
2026-08-09 23:48:44 -04:00
committed by GitHub
parent 55ca82abb2
commit 27fe0ae837
9 changed files with 86 additions and 19 deletions
+11 -1
View File
@@ -80,7 +80,17 @@ docker compose exec sencho node dist/cli/disableSso.js [provider]
docker compose exec sencho node dist/cli/disableSso.js oidc_google
```
With no argument it disables every enabled provider. The stored configuration is preserved (only the enabled flag is cleared), so you can correct it and turn it back on from **Settings · SSO**.
With no argument it disables every enabled provider and, if **SSO only** mode is active, restores **Local and SSO** so password login works again. The stored configuration is preserved (only the enabled flag is cleared), so you can correct it and turn it back on from **Settings · SSO**. No Sencho restart is required.
### Re-enable local password login (SSO only)
When authentication mode is **SSO only** and the identity provider is unavailable, restore local password login without disabling providers:
```bash
docker compose exec sencho node dist/cli/enableLocalLogin.js
```
Takes effect on the next login attempt; no restart is required. See [SSO & LDAP Authentication](/features/sso#troubleshooting) for the full SSO-only recovery path.
## Inspecting and protecting your data