docs(oidc): Snowflake External OAuth guide + custom claims#11057
Conversation
Adds the Snowflake OIDC federation guide — every step verified end-to-end against a live Snowflake account: custom-audience token config with an scp custom claim, External OAuth security integration, service user mapped via sub → LOGIN_NAME, deployment env vars, and the login-history verification query. Documents the custom-claims field in the OIDC overview (Snowflake authorizes session roles exclusively through scp) and surfaces OIDC as an auth option on the Snowflake data-source page. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Claude finished @bsod90's task in 1m 4s —— View job Review — docs(oidc): Snowflake External OAuthDocs-only PR; no code paths touched. Verified anchors ( Details — nothing blocking; a few minor suggestionsTasks
Findings
The trailing-comma rule is a real implementation behavior but reads as a footnote-in-passing. Consider an explicit example, e.g.:
Otherwise readers may not realize a bare
Nit: Things that look right
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
The token file lives at a different path in deployed pods, dev mode, and test connection, so custom-audience configs declare a Target Env Var that Cube populates with the right path everywhere — no hand-written token path. Updates the Snowflake guide (step 1 + step 4), the OIDC overview (new Custom token configs section), and the Snowflake data-source page. Leaves a screenshot placeholder for the filled-in token-config dialog. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Claude finished @bsod90's task in 58s —— View job Review — docs(oidc): Snowflake External OAuth (follow-up sync)New commit Details — minor nits only, nothing blockingTasks
Findings
Re-confirmed from prior reviewThe earlier suggestions on the original commit (array-claim wording example at |
Replaces the step-1 placeholder with the filled-in Edit OIDC Token Config dialog (Custom audience, Target Env Var, scp custom claim). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
I'll analyze this and get back to you. |
Reuses the Snowflake token-config screenshot in the Custom token configs section to illustrate the Target Env Var + custom claim fields together. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Claude finished @bsod90's task in 1m 11s —— View job Review — docs(oidc): Snowflake External OAuth (screenshot pass)Two new commits since the last review ( Details — minor nits onlyFindings on the new commits
Screenshot legibility — visual QA only Still-applicable from prior reviews (none are blockers, just so they don't get lost)
Things that look right
|
Per review: no standalone OIDC Snowflake page — the full verified setup (token config with scp custom claim + Target Env Var, External OAuth security integration, service user, deployment env vars, verification and failure modes) now lives as the OIDC workload identity section on the Snowflake data-source page, with the OIDC overview linked for concepts. The overview's Snowflake card and references point there. Screenshot stays in-repo under images/ per docs-mintlify conventions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Claude finished @bsod90's task in 2m 1s —— View job Review — docs(oidc): Snowflake guide folded into data-source pageThe new commit Details — minor nits onlyFindings on
|

What
/admin/deployment/oidc/snowflake— connecting the Snowflake driver through OIDC workload identity via Snowflake External OAuth. Every step was verified end-to-end against a live Snowflake account: token config (custom audience +scpcustom claim),CREATE SECURITY INTEGRATION … TYPE = EXTERNAL_OAUTH, service user mapped viasub→LOGIN_NAME, deployment env vars, and theSNOWFLAKE.INFORMATION_SCHEMA.LOGIN_HISTORY_BY_USERverification query (logins showOAUTH_ACCESS_TOKEN). Includes a failure-mode table for the four errors actually hit while setting it up.scp— the driving case), adds a Snowflake card to the per-provider guide list, registers the page in the nav.OIDC workload identitysubsection under Cube Cloud (parallel to the Athena/Redshift/BigQuery pages from docs(oidc): document OIDC auth on Redshift, Athena, and BigQuery driver pages #11056), prerequisites mention, and honestCUBEJS_DB_USER/CUBEJS_DB_PASSrequired-flags (footnoted — not required withSNOWFLAKE_JWT/OAUTH).Notes
docs.jsonvalidated.🤖 Generated with Claude Code