Skip to content

Ma/sso/SCIM front egg#36875

Open
mtabebe wants to merge 3 commits into
MaterializeInc:mainfrom
mtabebe:ma/sso/scim-front-egg
Open

Ma/sso/SCIM front egg#36875
mtabebe wants to merge 3 commits into
MaterializeInc:mainfrom
mtabebe:ma/sso/scim-front-egg

Conversation

@mtabebe
Copy link
Copy Markdown
Contributor

@mtabebe mtabebe commented Jun 2, 2026

3 commits to support group claims in front egg.

First 2 are mechanical renames and refactors. The third is the actual pushing of claims, and requires the most scrutiny.

@mtabebe mtabebe force-pushed the ma/sso/scim-front-egg branch from 14b420b to 23ba456 Compare June 2, 2026 19:11
mtabebe added 3 commits June 2, 2026 20:06
The three group-sync dyncfgs (claim path + enable + strict) apply to any
JWT-issuing authenticator, not just OIDC. Drop the `oidc_` prefix from
the variable names and string keys to reflect that, so they can be
shared with Frontegg (and any future JWT authenticators) without
misleading naming.

Pure mechanical rename; no behavior change.
Pull the dot-separated claim-path resolution and array/string
normalization out of `mz-authenticator` into a shared helper.

Consolidate the test suite into it

Pure refactor; no behavior change.
Add `Claims::groups(claim_path)` to Frontegg (mirroring OIDC)

Thread the resolved `group_claim` string through `authenticate` /
`validate_access_token` / `exchange_app_password` and capture it into
the session refresh task. Plumb the extracted groups through
`ValidatedClaims`, `AuthSessionIdent`, and a new
`AuthSessionHandle::groups()` accessor so the pgwire and HTTP
frontends pass them into the existing group-role sync pipeline
alongside the OIDC path.

The frontegg-mock stamps user groups under the `groups` JWT claim
@mtabebe mtabebe force-pushed the ma/sso/scim-front-egg branch from 23ba456 to 287bee7 Compare June 3, 2026 00:07
@mtabebe mtabebe requested review from SangJunBak and jubrad June 3, 2026 02:04
@mtabebe mtabebe marked this pull request as ready for review June 3, 2026 02:05
@mtabebe mtabebe requested review from a team as code owners June 3, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant