feat(oidc): derive issuer host from bunyip apex (bunyip-as-OP cutover) #49
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-apps!49
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/bunyip-op-cutover"
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?
Flip the host-derivation rule in OidcConfig::resolve from "the mokosh-server host" to "bunyip-api on the apex's api. subdomain":
msp. -> issuer https://api. (was: https://api.msp.)
-> hub https:// (unchanged: bunyip-web apex)
This is the SPA-side companion to the bunyip oauth_clients seed migration and the mokosh-server RS verifier on the same branch. Once all three land:
Operators that pin issuer via window.MOKOSH_CONFIG.oidc_issuer or the MOKOSH_OIDC_ISSUER build arg keep their overrides verbatim - this only changes the derivation fallback. The MOKOSH_OIDC_CLIENT_ID env on the docker side must also be updated to the new public PKCE UUID (b0000000-0000-4000-8000-000000000002 in bunyip-api's seed) before the SPA can complete the flow against bunyip-api; that is a docker-repo change tracked on the same branch.