Skip to content

Add per-provider user registration control#1321

Open
johnmaguire wants to merge 1 commit intomoghtech:mainfrom
johnmaguire:granular-registration-control
Open

Add per-provider user registration control#1321
johnmaguire wants to merge 1 commit intomoghtech:mainfrom
johnmaguire:granular-registration-control

Conversation

@johnmaguire
Copy link
Copy Markdown

@johnmaguire johnmaguire commented Apr 3, 2026

Add granular registration flags:

  • KOMODO_DISABLE_LOCAL_USER_REGISTRATION - blocks local signups, hides Sign Up button, while allowing OIDC registration
  • KOMODO_DISABLE_OIDC_USER_REGISTRATION - blocks OIDC signups while allowing local registration

Both are optional and fall back to the existing
KOMODO_DISABLE_USER_REGISTRATION when not set. This enables the common pattern of letting your OIDC provider control access while preventing direct local account creation.

Depends on mogh-lib change adding per-provider registration methods to the AuthImpl trait: moghtech/lib#2

Closes #1087

Add granular registration flags:
- KOMODO_DISABLE_LOCAL_USER_REGISTRATION — blocks local signups,
  hides Sign Up button, while allowing OIDC registration
- KOMODO_DISABLE_OIDC_USER_REGISTRATION — blocks OIDC signups
  while allowing local registration

Both are optional and fall back to the existing
KOMODO_DISABLE_USER_REGISTRATION when not set. This enables the
common pattern of letting your OIDC provider control access while
preventing direct local account creation.

Depends on mogh-lib change adding per-provider registration methods
to the AuthImpl trait.

Closes moghtech#1087
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow New User Registration only from OIDC

1 participant