You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document path conventions for IDAM core vs extension so that (1) merged-spec builds use consistent prefixes and (2) the two-service deployment option can use ingress path-based routing (e.g. /api/identity/auth/* → core, /api/identity/preferences, /api/identity/api-keys/* → extension) with one host for the BFF.
flowchart TB
Request["Request to idam.example.com"]
Request --> Match{"Path prefix?"}
Match -->|"/api/identity/auth/*"| Core["→ idam-core service"]
Match -->|"/api/identity/user*"| Core
Match -->|"/api/identity/factors/*"| Core
Match -->|"/api/identity/settings"| Core
Match -->|"/.well-known/*"| Core
Match -->|"/api/identity/preferences"| Ext["→ idam-extension service"]
Match -->|"/api/identity/api-keys/*"| Ext
Ingress rules: Document example ingress (or API gateway) rules for two-service deployment: one host (e.g. idam.example.com), path-based routing to idam-core (port 8080) vs idam-extension (port 8081).
Part of Epic #280
Story 8.2 — Path conventions and ingress rules
GitHub issue: #288
Epic: Epic 8 — IDAM extension and build/deploy
Overview
Document path conventions for IDAM core vs extension so that (1) merged-spec builds use consistent prefixes and (2) the two-service deployment option can use ingress path-based routing (e.g.
/api/identity/auth/*→ core,/api/identity/preferences,/api/identity/api-keys/*→ extension) with one host for the BFF.Diagram: Ingress path-based routing (two-service option)
Diagram: Path → backend mapping
flowchart TB Request["Request to idam.example.com"] Request --> Match{"Path prefix?"} Match -->|"/api/identity/auth/*"| Core["→ idam-core service"] Match -->|"/api/identity/user*"| Core Match -->|"/api/identity/factors/*"| Core Match -->|"/api/identity/settings"| Core Match -->|"/.well-known/*"| Core Match -->|"/api/identity/preferences"| Ext["→ idam-extension service"] Match -->|"/api/identity/api-keys/*"| ExtDelivery
/api/identity/auth/*,/api/identity/user/*,/api/identity/reauthenticate,/api/identity/factors/*,/api/identity/settings,/api/identity/health,/.well-known/*) and extension path prefix (e.g./api/identity/preferences,/api/identity/api-keys,/api/identity/api-keys/{key_id}).idam.example.com), path-based routing to idam-core (port 8080) vs idam-extension (port 8081).Acceptance criteria
References