fix: set authMethod to OIDC for SCIM-provisioned users#59
Conversation
SCIM-provisioned users were created with authMethod defaulting to LOCAL,
which blocked OIDC login ("local account exists" error). Since SCIM
users authenticate via SSO, they must be created as OIDC users.
This also unblocks OIDC group sync — team assignment happens on first
OIDC login via the groups claim, which requires successful sign-in.
Greptile SummaryThis PR fixes a correctness bug where SCIM-provisioned users were created with Key observations:
Confidence Score: 3/5
|
Summary
authMethoddefaulting toLOCAL(schema default), which blocked OIDC login with "local account exists" errorauthMethod: "OIDC"inscimCreateUserso SCIM-provisioned users can authenticate via SSOTest plan
authMethod: OIDC