mirror of
https://github.com/moghtech/komodo.git
synced 2026-07-16 01:59:56 -05:00
[PR #1321] [MERGED] Add per-provider user registration control #28656
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: ✅ Merged
Merged: 5/6/2026
Merged by: @mbecker20
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.