← Back to Pull requests

docs(iam): connect a company identity provider (SA-9217) #60

Closed
unknown closed this pull request without merging on Oct 20, 2026 11:41 UTC
View on GitHub
unknown unknown commented on Oct 20, 2026 09:19 UTC
Author

What

Customer docs for the self-service IdentityProvider claim (iam.cloud.stakater.com/v1, ADR-0071, SA-9217). With it, an organisation's users sign in with their company identity provider (Okta, Microsoft Entra ID), routed by email domain.

New pages

  • how-to-guides/user/connect-identity-provider.md, covering:

  • - how it works and the prerequisites;
    - choosing a name and domains;
    - finding the endpoints, with Okta and Entra tips;
    - creating the claim in the console or with kubectl;
    - creating the IdP application and sending the credentials to the platform provider;
    - verifying, and giving users access through groups and projects;
    - users who already have a password;
    - changing, switching off and removing;
    - troubleshooting, with the real status messages.
  • api-reference/public-apis/iam-identity-provider.md: parameters with defaults, status fields, the console badge, behaviour, and examples.
  • Updated pages

  • logging-in.md: replaces the outdated "Sign in with [Provider]" button text with the email-first flow.

  • organisation-identity.md: new section "Signing In with Your Company Identity Provider".

  • managing-users.md:

  • - new section "Users from Your Company Identity Provider": no User claim, access by email, group membership before the first sign-in, offboarding;
    - a note not to create a User claim in a federated domain.
  • theme_override/mkdocs.yml: nav entries for the two new pages.
  • Source of truth

  • Parameters, defaults and validation come from compositions/identity-provider-package/identity-provider/resources/definition.yaml and kcl-step.k (identity-provider 0.0.1).

  • The behaviour was verified on eu-3 (pilot) and on eu-2 (rehearsal, 2026-10-20):

  • - the console-created claim;
    - the blocked state until the credentials are stored;
    - the Entra sign-in;
    - a bad edit that is not applied;
    - group membership added before a user's first sign-in, which applies about 15 minutes after that sign-in.

    Please check

  • ~~The console menu label~~ — confirmed by Owais: All services > IAM > Identity Providers.

  • The Okta endpoint tip (org vs custom authorization server) is general guidance. We haven't tested it against a real Okta tenant yet. Epical will be the first.
  • Vale (repo config, Stakater package v0.0.104) and markdownlint (repo config) pass on the changed pages, and every relative link and anchor resolves.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01RR97Ju7Q7tjC3jyaTwQ1oF

    Diff: 318 lines (+238 / -80) across 3 files Reviewer: MuneebAijaz Review duration: 141m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 318 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.345
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #60"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.4% (MEDIUM) · Higher = larger blast radius
    40.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.0% · Safe to merge
    16.0%