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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/1321
Author: @johnmaguire
Created: 4/3/2026
Status: 🔄 Open
Base:
main← Head:granular-registration-control📝 Commits (1)
2dd1ecbAdd 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:
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.