Add DISABLE_LOCAL_AUTH env variable (#962)

Adds a new env var to disable local auth entirely when using OIDC
authentication

Fixes #922 #834
This commit is contained in:
Alex
2026-05-08 22:11:14 +01:00
committed by GitHub
parent 3305ec9e46
commit 9b8402c9a7
12 changed files with 175 additions and 12 deletions
@@ -18,6 +18,10 @@ export const OidcEnvInfo = (_props: CustomSettingsFieldRendererProps) => {
{' '}
<span className="opacity-40"># Hide the local login form</span>
{'\n'}
{' '}- <span className="text-blue-400">DISABLE_LOCAL_AUTH</span>=
<span className="text-green-400">true</span>{' '}
<span className="opacity-40"># Disable username/password login</span>
{'\n'}
{' '}- <span className="text-blue-400">OIDC_AUTO_REDIRECT</span>=
<span className="text-green-400">true</span>
{' '}