ON-PREM CHOREO CLOUD BOTH

What it is

The Platform IdP is Choreo Cloud's identity provider, a private build of ThunderID. It signs in people to all Choreo Cloud consoles, with Google, GitHub or email, and issues tokens that carry the organization. It plays the role the platform ThunderID plays on-prem.

Why it exists

Choreo Cloud has many users in many organizations, and one sign-in for all its products. It needs an identity provider built for that scale.

How it works

  • Runs as the component platform-idp in the project core on cloud-cp.
  • An organization is an organization unit (OU), whose id appears in every token as ouId, together with ouHandle.
  • Uses the resource server urn:wso2:cloud, with a branch for Agent Manager scopes (amp:*).
  • Gateways validate its tokens using its public keys.
  • It also holds machine clients for services such as the system app, provisioner and metering.

Identity and access

People sign in with federated login, then consoles use authorization code with PKCE. Services use client_credentials. Tokens carry iss, ouId and ouHandle, and the audience is checked by AMS.

Key facts

Cluster
cloud-cp (project core)
Resource server
urn:wso2:cloud
Build
Private ThunderID build
Edition
Choreo Cloud
Namespace
wso2cloud

Talks to (2)

  • signs in with agent-manager-service (AMS)
    SaaS user tokens validated by AMS and by gateway
    JWT RS256 JWKS
  • calls platform-api (PAS)
    Sign-up flow notifies platform-api that an organization was created
    HTTP POST /webhooks/organizations on port 8082

Used by (3)

  • provides sign-in to Choreo Cloud console
    SaaS login
    OIDC PKCE
  • provides sign-in to evaluation-job
    On SaaS the evaluation job token endpoint belongs to the Platform IdP
    HTTP POST IDP_TOKEN_URL
  • called by agent-manager-service (SaaS deployment)
    Agent Manager asks the Platform IdP for machine tokens before it calls platform-api, billing or the Identity Platform control plane
    HTTPS /oauth2/token and /ou/<org>/oauth2/token

Inside and around

Part of: cloud-cp (cloud control plane)