Bug: Keycloak self-registration bypasses app registration pipeline #151
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-landing#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Type
Bug
Lineage
Discovered during spike #150 — parent login flow validation.
Repo
forgejo_admin/westside-landing(fix is Keycloak realm config, not app code)What Broke
The
westside-basketballKeycloak realm hasregistrationAllowed: true. The Keycloak login form shows a "New user? Register" link that creates a Keycloak account with NO corresponding Parent or Player records in basketball-api. User logs in successfully but sees empty dashboard.Repro Steps
/signinand click "Sign In"Expected Behavior
Self-registration via Keycloak should be disabled. All registration goes through the app's
/registerflow which creates Keycloak user + Parent + Player records together.Environment
westside-basketballAcceptance Criteria
registrationAllowedset tofalseon westside-basketball realm/registerflow still worksRelated
project-westside-basketballforgejo_admin/westside-landing #150— parent spike