Skip to content

Expose available IDPs in MCP status #123

@ValentinGerlach

Description

@ValentinGerlach

What would you like to be added:

The list of effective IDPs (system IDP + custom IDPs) should be available in the MCP's status field. We are already exposing this information in the kubeconfig secret (referenced by .status.components.authentication.access) but it is hard for the UI to parse this information.

Suggested format:

apiVersion: core.openmcp.cloud/v1alpha1
kind: ManagedControlPlane
metadata:
  name: test-mcp
  namespace: project-test
spec:
  ...
status:
  components:
    authentication:
      access:
        ...
      identityProviders:
        - name: openmcp
          issuer: https://openmcp.example.com
          clientId: 171187c6-5560-45a4-a135-e21c8b18a7ac
          scopes:
            - email
            - profile
            - offline_access
          pkce: auto
          interactive: true
        - name: gh-actions
          issuer: https://token.actions.githubusercontent.com
          clientId: https://github.com/octo-org
          interactive: false

Why is this needed:

The UI could use this information to show a list of available IDPs and start an OIDC login flow for the IDP by the user.

openmcp-project/backlog#172 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/open-mcpAll ManagedControlPlane related issuesenhancementNew feature or requestpriority/lowFeature needs improvement, not urgent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions