mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 02:16:06 -05:00
[PR #1321] Add per-provider user registration control #5759
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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.