Skip to content

Add Security.auth_enforced variable#428

Open
monjiapawne wants to merge 2 commits into
MISP:masterfrom
monjiapawne:master
Open

Add Security.auth_enforced variable#428
monjiapawne wants to merge 2 commits into
MISP:masterfrom
monjiapawne:master

Conversation

@monjiapawne

Copy link
Copy Markdown
Contributor

This PR adds an AUTH_ENFORCED environment variable that maps to MISP's Security.auth_enforced setting.

When true, MISP disables its base email/password login form and force authentication through whichever external provider is configured.

Some auth methods have a per plugin toggle (e.g. OIDC_MIXEDAUTH) but there's no global way to enforce it. This is specifically needed for AAD, which the upstream doesn't currently have a toggle for.


Before:

image

After:

image

@ostefano ostefano self-assigned this Jun 25, 2026
@ostefano ostefano added enhancement New feature or request scheduled Will merge at the next opportunity labels Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request scheduled Will merge at the next opportunity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants