Provision Keycloak realm and client for palinks #31
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
Follow-up from spike #16 (
docs/auth.md— Keycloak Provisioning section).Repo
ldraney/pal-e-services+ldraney/pal-e-platform+ldraney/pal-e-deploymentsUser Story
As Lucas
I want a Keycloak realm configured for palinks
So that users can authenticate via OIDC
Context
Palinks needs a
palinksrealm with two roles (superadmin, member), a confidential OIDC client with PKCE S256, and secrets wired into the k8s deployment. The spike doc has exact terraform config blocks. Registration is disabled — Lucas creates users manually. Network policy must allow palinks namespace to reach Keycloak.File Targets
pal-e-services:
terraform/k3s.tfvars— addpalinksrealm + client to keycloak blockspal-e-platform:
terraform/network-policies.tf— add palinks namespace to Keycloak allowlistpal-e-deployments:
overlays/palinks/prod/secrets.enc.yaml— add KEYCLOAK_URL, KEYCLOAK_REALM, KEYCLOAK_CLIENT_ID, KEYCLOAK_CLIENT_SECREToverlays/palinks/prod/deployment-patch.yaml— add secretKeyRef env entriesFeature Flag
None — infrastructure provisioning, not user-facing behavior.
Acceptance Criteria
palinksrealm exists in Keycloak withsuperadminandmemberrolespalinksconfigured with PKCE S256/auth/keycloak/callbacksuperadminroleTest Expectations
curl https://keycloak.tail5b443a.ts.net/realms/palinks/.well-known/openid-configurationreturns valid JSONConstraints
sop-keycloak-client-creationSOPChecklist
Related
project-palinks— project pagedocs/auth.md— full provisioning specsop-keycloak-client-creation— platform SOP