[PR #1321] Add per-provider user registration control #5759

Open
opened 2026-04-22 00:51:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moghtech/komodo/pull/1321
Author: @johnmaguire
Created: 4/3/2026
Status: 🔄 Open

Base: mainHead: granular-registration-control


📝 Commits (1)

  • 2dd1ecb Add per-provider user registration control

📊 Changes

4 files changed (+58 additions, -0 deletions)

View changed files

📝 bin/core/src/auth/mod.rs (+14 -0)
📝 bin/core/src/config.rs (+6 -0)
📝 client/core/rs/src/entities/config/core.rs (+24 -0)
📝 config/core.config.toml (+14 -0)

📄 Description

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: https://github.com/moghtech/lib/pull/2

Closes #1087


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/moghtech/komodo/pull/1321 **Author:** [@johnmaguire](https://github.com/johnmaguire) **Created:** 4/3/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `granular-registration-control` --- ### 📝 Commits (1) - [`2dd1ecb`](https://github.com/moghtech/komodo/commit/2dd1ecba7f75c5e922a08273be5206e34934484f) Add per-provider user registration control ### 📊 Changes **4 files changed** (+58 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `bin/core/src/auth/mod.rs` (+14 -0) 📝 `bin/core/src/config.rs` (+6 -0) 📝 `client/core/rs/src/entities/config/core.rs` (+24 -0) 📝 `config/core.config.toml` (+14 -0) </details> ### 📄 Description 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: https://github.com/moghtech/lib/pull/2 Closes #1087 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 00:51:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#5759