Skip to content

docs: document renewing the sso client secret - #577

Merged
gsavage merged 2 commits into
mainfrom
docs/renew-sso-client-secret
Nov 26, 2026
Merged

gsavage merged 2 commits into
mainfrom
docs/renew-sso-client-secret

Conversation

@dangrondahl

Copy link
Copy Markdown
Contributor

Closes #576

What changed

  • Single sign-on: a new "Renew the client secret" section explains how to replace the client secret on an existing OIDC connection. It covers creating a new secret in the IdP, entering it through SSO Configuration in the wizard, testing on the Testing page, and then removing the old secret. It also includes a warning about expiry, a note on SAML certificate renewal, and what to do if sign-in fails.
  • Rotating API keys: a note saying the page covers Kosli API keys only, linking to the new SSO section.

Needs confirming before this leaves draft

Nothing in this repo or kosli-dev/server describes how the wizard handles an existing connection. These four points are inferred, so please confirm or correct them (Customer Success likely knows):

  1. Edit in place: the Client Secret can be changed on an existing connection in the wizard, without recreating it. The SCIM page's role-mapping steps already re-enter SSO Configuration and save on Testing, which suggests this works.
  2. Wizard link: an old wizard link may have stopped working, so admins should ask Customer Success for a new one.
  3. No interruption: because IdPs such as Azure Entra ID allow several valid secrets at once, keeping the old secret until the new one is saved means sign-in is not interrupted.
  4. SAML: renewing the IdP signing certificate is done by updating the IdP metadata through SSO Configuration in the same wizard.

Checks

  • mint broken-links: no broken links
  • pytest tests/: 68 passed

@claude

claude Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @dangrondahl's task in 52s —— View job


Doc review — follow-up

  • Fetch previous review findings and new diff
  • Check status of each previous finding
  • Check new commits for introduced issues
  • Post summary comment

Previous findings (both resolved):

  1. Merge the duplicate <Note> in tutorials/rotating_api_keys.mdx — ✅ Resolved. The SSO sentence is now appended to the existing Personal API keys note (lines 13-14) instead of a separate note.
  2. Name the IdP for the "value vs. ID" guidance in single_sign_on.md:79 — ✅ Resolved. Now reads "check that you copied the secret's Value, not its Secret ID (Azure Entra ID shows both)."

No inline comments were previously opened on this PR (the prior review was posted as a single summary comment), so there's nothing to close.

New commits (70e3738..66b99dd): reviewed both changed hunks — no new bugs, security issues, or regressions introduced. 0 new inline comments.

@mintlify

mintlify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
kosli 🟢 Ready View Preview Nov 26, 2026, 2:26 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@claude

claude Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Doc review

tutorials/rotating_api_keys.mdx

  • Suggestion — tutorials/rotating_api_keys.mdx:17-19
    Issue: The new <Note> sits directly under an existing <Note>, so the page now opens with a Tip and two Notes before the prerequisites. CLAUDE.md asks for callouts to be used sparingly, and readers tend to skip a stack of three.
    Recommendation: Add the SSO sentence to the end of the existing Personal API keys note (lines 13-15) instead of adding a second Note, or move it to a sentence in the intro paragraph.

administration/authentication/single_sign_on.md

  • Suggestion — administration/authentication/single_sign_on.md:79
    Issue: "the secret's value rather than its ID" describes how Azure Entra ID shows secrets (a Value column next to a Secret ID column). Other IdPs on the list, such as Okta and Auth0, don't show a secret ID, so readers using them may not know what this sentence means.
    Recommendation: Name the IdP: "…check that you copied the secret's Value, not its Secret ID (Azure Entra ID shows both)…".

Both link targets resolve: /tutorials/rotating_api_keys, and #renew-the-client-secret on the SSO page. The four points listed under "Needs confirming" in the PR description need someone who knows the product to check them; this review can't confirm them from the repo.

0 Critical, 0 Improvement, 2 Suggestion. No findings block the merge once the four wizard-behavior points are confirmed.

View job run

@dangrondahl
dangrondahl marked this pull request as ready for review November 26, 2026 14:27
@dangrondahl
dangrondahl requested a review from a team as a code owner November 26, 2026 14:27
@mintlify

mintlify Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
kosli 🟡 Building – Nov 26, 2026, 2:22 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@gsavage
gsavage merged commit be423b8 into main Nov 26, 2026
6 checks passed
@gsavage
gsavage deleted the docs/renew-sso-client-secret branch November 26, 2026 15:08

This branch was successfully deployed

1 active deployment
staging — 66b99dd1 Deployed Nov 26, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document renewing the SSO client secret

2 participants