feat(auth): add enterprise SSO and RBAC#418
Open
StringKe wants to merge 2 commits intomemohai:mainfrom
Open
Conversation
HoneyBBQ
requested changes
May 2, 2026
7d55f4b to
22015b5
Compare
22015b5 to
b85f7e3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github.com/zitadel/oidc/v3and SAML login usinggithub.com/crewjam/saml.users.roleauth behavior with system and bot-scoped RBAC while keeping the member/admin role keys as system roles.Impact
Admins can configure OIDC and SAML SSO providers, control email linking behavior, map external groups to local groups, and assign system or bot-scoped roles without relying on the old single
users.rolefield.Validation
mise run sqlc-generatemise run swagger-generate./node_modules/.bin/openapi-ts -f openapi-ts.config.tsmise exec -- go test ./internal/... ./cmd/...mise exec -- go build -o /tmp/memoh-check ./cmd/memohmise exec -- go build -o /tmp/agent-check ./cmd/agentmise exec -- go build -o /tmp/bridge-check ./cmd/bridge./node_modules/.bin/vite buildcmd/agent servesmoke test on127.0.0.1:18731