SSO: Create platform realm + ldraney admin user in Keycloak #335
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-platform#335
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
Feature
Lineage
Standalone — scoped during platform SSO initiative (2026-05-04).
Repo
forgejo_admin/pal-e-platformUser Story
As a platform admin
I want a dedicated Keycloak realm for platform services
So that I have one login across all infra tools (Forgejo, Grafana, Harbor, MinIO)
Context
Keycloak is deployed but only serves the westside realm today. Per convention (one realm per brand/audience), platform infra services need their own realm. This ticket creates the realm and the ldraney admin user. Unblocks all subsequent OIDC client wiring tickets.
Two approaches: (1) Keycloak admin API calls, or (2) add the terraform-provider-keycloak to manage realm/clients as IaC. Recommend approach 1 for now (faster, no new provider dependency), with a follow-up to IaC it later if desired.
File Targets
Files the agent should modify or create:
terraform/modules/keycloak/main.tfif we add the keycloak terraform providerFiles the agent should NOT touch:
keycloak/themes/westside/— westside realm is separateAcceptance Criteria
platformrealm exists atkeycloak.tail5b443a.ts.net/realms/platformldraneyuser exists in platform realm with password set/realms/platform/.well-known/openid-configurationTest Expectations
curl -s https://keycloak.tail5b443a.ts.net/realms/platform/.well-known/openid-configuration | jq .issuerConstraints
platform(not master, not pal-e)Checklist
Related
project-pal-e-platform— platform project