Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.
This guide walks you through setting up SAML 2.0 single sign-on between TrueFoundry and Microsoft Active Directory Federation Services (AD FS). Once finished, users in your AD forest can sign in to TrueFoundry through a Login with AD FS button.
Prerequisites
A TrueFoundry tenant with Admin access to Settings → Security & Access → SSO.
An AD FS server (Windows Server 2016 or newer) with administrative access to AD FS Management and Windows PowerShell as an administrator.
Network reachability from end-user browsers to both the AD FS sign-in endpoint (typically https://<adfs-server>/adfs/ls/) and your TrueFoundry control plane.
You will switch between AD FS Management on the Windows server and TrueFoundry → Settings → Security & Access → SSO in your browser. Keep both open in adjacent windows to copy values across.
Configuration overview
1
Create the SSO configuration in TrueFoundry
Save a SAML SSO configuration in TrueFoundry to surface the Assertion Consumer Service URL, Relying Party Identifier, and Relay URL.
2
Create a Relying Party Trust in AD FS
Add a claims-aware Relying Party Trust pointing at TrueFoundry.
3
Configure claim issuance rules
Map LDAP attributes to outgoing SAML claims and add a NameID transform.
4
Sign both the SAML response and assertion
Run a PowerShell command so AD FS signs both the SAML message and the assertion.
5
Paste AD FS values back into TrueFoundry
Copy the AD FS SSO endpoint and the token-signing certificate into TrueFoundry, then test.
Step 1 — Create the SSO configuration in TrueFoundry
1
Open SSO settings
Go to Settings → Security & Access → SSO.Click the + icon labeled Add New SSO Config.
SSO page in TrueFoundry — click the + icon to add a new SSO configuration
2
Fill in the basic fields
Enabled: turn this on.
Name: a lowercase alphanumeric label — for example, adfssaml.
SSO Provider: choose Custom.
Authentication Configuration: select SAML v2.
Leave Identity Provider Endpoint and X.509 Certificate blank for now — you’ll fill them in once AD FS surfaces those values.
3
Save to reveal the Single sign-on URL, Audience URI (SP Entity ID), and Relay URL
Click Save. TrueFoundry displays the values you need for AD FS on the SSO configuration card:
AD FS field
Value from TrueFoundry
Assertion Consumer Service (ACS) URL
Single Sign On URL
Relying Party Trust Identifier
Audience URI (SP Entity ID)
Relay State(if used)
Relay URL
TrueFoundry SSO configuration card showing the SAML values to copy into AD FS
Step 2 — Create a Relying Party Trust in AD FS
1
Open AD FS Management
On your AD FS server, open Server Manager → Tools → AD FS Management.In the left navigation, select Relying Party Trusts, then under Actions, click Add Relying Party Trust….
2
Choose Claims aware
On the Welcome page of the wizard, select Claims aware and click Start.
3
Select the data source
On Select Data Source, pick one of the following based on how your TrueFoundry control plane is reachable:
Public / reachable URL
Internal / manual entry
Choose Import data about the relying party published online or on a local network and enter the metadata URL of your TrueFoundry control plane. This is the recommended option when AD FS can reach the control plane.
Choose Enter data about the relying party manually and supply the values manually on the following screens:
Display name — any descriptive label (used in PowerShell later).
Configure URL — enable SAML 2.0 and paste the TrueFoundry Single Sign On URL as the Assertion Consumer Service URL.
Configure Identifiers — add the TrueFoundry Audience URI (SP Entity ID) as the Relying Party Trust Identifier.
Click Next.
4
Specify a display name
On Specify Display Name, enter a Display name such as TrueFoundry. Optionally add notes, then click Next.
Remember this exact display name — you will pass it to PowerShell in Step 4.
5
Choose an access control policy
On Choose Access Control Policy, select Permit everyone for a typical deployment, or pick a more restrictive policy (such as Permit specific group) if you want only specific AD groups to use TrueFoundry. Click Next.
6
Finalize the trust
Review the configuration on Ready to Add Trust and click Next. On Finish, leave Configure claims issuance policy for this application checked and click Close. The Edit Claim Issuance Policy dialog opens automatically.
Step 3 — Configure claim issuance rules
In the Edit Claim Issuance Policy dialog, add two rules: one to send LDAP attributes as claims, and one to transform the email claim into a properly formatted NameID.
1
Add a 'Send LDAP Attributes as Claims' rule
Click Add Rule…, choose Send LDAP Attributes as Claims, and click Next.Enter a Claim rule name such as LDAP attributes, select Active Directory as the Attribute store, and add the following mappings:
LDAP Attribute
Outgoing Claim Type
E-Mail-Addresses
E-Mail Address
E-Mail-Addresses
email
Object-Guid
sub
Given-Name
Given Name
Surname
Surname
User-Principal-Name
Name ID
Click Finish.
2
Add a NameID transform rule
Click Add Rule… again, choose Transform an Incoming Claim, and click Next.Configure the rule as follows:
Claim rule name: Email to NameID
Incoming claim type: E-Mail Address
Outgoing claim type: Name ID
Outgoing name ID format: Email
Select Pass through all claim values.
Click Finish.
If you prefer to write the rule in the Claim Rule Language directly (for example to script the deployment), the equivalent rule is:
Click OK to close the Edit Claim Issuance Policy dialog.
Without the NameID transform rule, AD FS sends NameID with Format="Unspecified". TrueFoundry will reject the assertion with an InvalidNameIDPolicy error.
Step 4 — Sign both the SAML response and assertion
By default AD FS only signs the SAML assertion, but TrueFoundry requires both the response message and the assertion to be signed.Open Windows PowerShell as an administrator on the AD FS server and run:
Replace <display-name> with the exact Display name you set in Step 2.
Step 5 — Paste AD FS values back into TrueFoundry
1
Locate the AD FS SAML sign-in URL
AD FS exposes its SAML endpoint at:
https://<adfs-server>/adfs/ls/
You can confirm this value by browsing to AD FS Management → Service → Endpoints and locating the row of type SAML 2.0/WS-Federation with URL path /adfs/ls/.
2
Export the token-signing certificate
In AD FS Management, expand Service → Certificates. Right-click the Token-signing certificate and choose View Certificate….
Open the Details tab and click Copy to File….
Choose Base-64 encoded X.509 (.CER) and save the certificate to disk.
Open the saved .cer file in a text editor and copy the entire contents — including the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.
3
Paste the values into TrueFoundry
Return to Settings → Security & Access → SSO in TrueFoundry and edit the SSO configuration you created in Step 1. Set:
X.509 Certificate → the PEM-encoded certificate text you just copied.
Click Save.
4
(Optional) Customise the login button
Expand Show advanced fields in the SSO form to set:
Button Text — for example, Login with AD FS.
Button Image URL — a public URL to your AD FS / corporate logo.
Leave Email Claim and Unique ID Claim at their defaults; the claim rules you added in Step 3 already emit the standard claim types TrueFoundry expects.
Step 6 — Test single sign-on
Open a private/incognito window and go to your TrueFoundry login page.
Click Login with AD FS (or the button label you chose).
Authenticate with an Active Directory user that is permitted by your access control policy.
If sign-in succeeds you will land in the TrueFoundry dashboard. The user is created automatically when JIT provisioning is enabled; otherwise they must already exist in TrueFoundry or be invited first.
Troubleshooting
'InvalidNameIDPolicy' or 'NameID policy not satisfied' on sign-in
AD FS is sending NameID with Format="Unspecified". Re-open Edit Claim Issuance Policy on the Relying Party Trust and confirm the Email to NameID transform rule from Step 3 is present and ordered after the LDAP attribute rule.
'Invalid Signature' or 'SAML response was not signed'
AD FS only signed the assertion, not the response. Re-run the PowerShell command from Step 4:
'Could not validate SAML response' / certificate mismatch
The token-signing certificate copied into TrueFoundry no longer matches the active certificate on AD FS — usually after an AD FS certificate rollover. Re-export the current Token-signing certificate from AD FS Management → Service → Certificates and paste the full PEM (including the BEGIN/END lines) back into TrueFoundry.
Users sign in but email or unique ID is empty
Confirm the Send LDAP Attributes as Claims rule emits email and sub as described in Step 3, and that the user has populated mail / userPrincipalName and objectGUID values in Active Directory. If your AD schema uses different attribute names, expand Show advanced fields in TrueFoundry and set Email Claim and Unique ID Claim to match the outgoing claim types you configured.
AD FS shows 'access denied' before the user reaches TrueFoundry
Your Access Control Policy on the Relying Party Trust is rejecting the user. Switch the policy to Permit everyone, or add the user’s AD group to the existing policy under Edit Access Control Policy….
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TrueFoundry Docs","description":"TrueFoundry documentation — enterprise-grade AI Gateway combining LLM, MCP, and Agent Gateways to connect, monitor, and govern agentic AI applications across providers from a unified control plane.","colors":{"primary":"#4f46e5","light":"#4f46e5","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/truefoundry/e2uUimEwX30qkWxc/logo/light.svg?fit=max\u0026auto=format\u0026n=e2uUimEwX30qkWxc\u0026q=85\u0026s=6068d83664aeda0239bec2422657dd20","dark":"https://mintcdn.com/truefoundry/e2uUimEwX30qkWxc/logo/dark.svg?fit=max\u0026auto=format\u0026n=e2uUimEwX30qkWxc\u0026q=85\u0026s=c1cb26554a546d84500b40f7057bece8"},"favicon":"https://mintcdn.com/truefoundry/6bbtTt95c1iCcyph/favicon.svg?fit=max\u0026auto=format\u0026n=6bbtTt95c1iCcyph\u0026q=85\u0026s=f55bde34214b38034126d05b08ea16c7","appearance":{"default":"light"},"background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://www.truefoundry.com/book-demo","label":"Book Demo"},{"href":"https://www.truefoundry.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Sign Up","href":"https://www.truefoundry.com/register"}},"footer":{"socials":{"x":"https://twitter.com/truefoundry","linkedin":"https://in.linkedin.com/company/truefoundry"}},"seo":{"metatags":{"og:type":"website","og:site_name":"TrueFoundry Docs","og:image":"https://assets.production.truefoundry.com/logo.svg","og:description":"TrueFoundry offers an enterprise-grade AI Gateway combining LLM, MCP, and Agent Gateways—empowering businesses to connect, monitor, and govern agentic AI applications across providers from a unified control plane.","description":"TrueFoundry offers an enterprise-grade AI Gateway combining LLM, MCP, and Agent Gateways—empowering businesses to connect, monitor, and govern agentic AI applications across providers from a unified control plane."}},"icons":{"library":"fontawesome"},"styling":{"codeblocks":"dark","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"truefoundry","hasAudioNarration":false,"actualSubdomain":"truefoundry","customDomains":["www.truefoundry.com"],"gitSource":{"type":"github","owner":"truefoundry","repo":"docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b02f56c3ca2a55c00670bdc","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"AI Gateway","count":253},{"language":"default","tag":"API Reference","count":202},{"language":"default","tag":"Platform","count":198},{"language":"default","tag":"Integrations","count":138},{"language":"default","tag":"LLM Gateway","count":118},{"language":"default","tag":"AI Deployment","count":109},{"language":"default","tag":"Integrate Models","count":51},{"language":"default","tag":"Guardrails and Security","count":48},{"language":"default","tag":"Observability","count":47},{"language":"default","tag":"MCP Servers","count":44}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".line-highlight{background:rgb(var(--primary-light)/.7)!important}.tfy-cat-anchor{scroll-margin-top:6rem;margin-block:1.75rem}.line-highlight:before{background:rgb(var(--primary-light)/.7)!important}.line-highlight:after{background:rgb(var(--primary-light)/.7)!important}"}]}
{"page":{"pagePath":"docs/platform/sso/adfs/saml","slug":"/docs/platform/sso/adfs/saml","pageMetadata":{"title":"SAML with Microsoft AD FS","sidebarTitle":"SSO via SAML","description":"Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.","href":"/docs/platform/sso/adfs/saml"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Tab,Table,Tabs,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This guide walks you through setting up SAML 2.0 single sign-on between TrueFoundry and `,_jsx(_components.strong,{children:`Microsoft Active Directory Federation Services (AD FS)`}),`. Once finished, users in your AD forest can sign in to TrueFoundry through a `,_jsx(_components.strong,{children:`Login with AD FS`}),` button.`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A TrueFoundry tenant with `,_jsx(_components.strong,{children:`Admin`}),` access to `,_jsx(_components.strong,{children:`Settings → Security \u0026 Access → SSO`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`An AD FS server (Windows Server 2016 or newer) with administrative access to `,_jsx(_components.strong,{children:`AD FS Management`}),` and `,_jsx(_components.strong,{children:`Windows PowerShell`}),` as an administrator.`]}),`\n`,_jsxs(_components.li,{children:[`Network reachability from end-user browsers to both the AD FS sign-in endpoint (typically `,_jsx(_components.code,{children:`https://\u003cadfs-server>/adfs/ls/`}),`) and your TrueFoundry control plane.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`You will switch between `,_jsx(_components.strong,{children:`AD FS Management`}),` on the Windows server and `,_jsx(_components.strong,{children:`TrueFoundry → Settings → Security \u0026 Access → SSO`}),` in your browser. Keep both open in adjacent windows to copy values across.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`configuration-overview`,children:`Configuration overview`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Create the SSO configuration in TrueFoundry`,children:_jsxs(_components.p,{children:[`Save a SAML SSO configuration in TrueFoundry to surface the `,_jsx(_components.strong,{children:`Assertion Consumer Service URL`}),`, `,_jsx(_components.strong,{children:`Relying Party Identifier`}),`, and `,_jsx(_components.strong,{children:`Relay URL`}),`.`]})}),_jsx(Step,{title:`Create a Relying Party Trust in AD FS`,children:_jsx(_components.p,{children:`Add a claims-aware Relying Party Trust pointing at TrueFoundry.`})}),_jsx(Step,{title:`Configure claim issuance rules`,children:_jsx(_components.p,{children:`Map LDAP attributes to outgoing SAML claims and add a NameID transform.`})}),_jsx(Step,{title:`Sign both the SAML response and assertion`,children:_jsx(_components.p,{children:`Run a PowerShell command so AD FS signs both the SAML message and the assertion.`})}),_jsx(Step,{title:`Paste AD FS values back into TrueFoundry`,children:_jsx(_components.p,{children:`Copy the AD FS SSO endpoint and the token-signing certificate into TrueFoundry, then test.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-—-create-the-sso-configuration-in-truefoundry`,children:`Step 1 — Create the SSO configuration in TrueFoundry`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open SSO settings`,children:[_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Settings → Security \u0026 Access → SSO`}),`.`]}),_jsxs(_components.p,{children:[`Click the `,_jsx(_components.strong,{children:`+`}),` icon labeled `,_jsx(_components.strong,{children:`Add New SSO Config`}),`.`]}),_jsx(Frame,{caption:`SSO page in TrueFoundry — click the + icon to add a new SSO configuration`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=f768205b84d9f33ce04a8b8576ab0070`,alt:`TrueFoundry SSO settings page with the Add New SSO Config plus button highlighted`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`263`,height:`263`,\"data-path\":`images/sso/entra/saml-truefoundry-add-sso-config.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?w=280\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=d19f89f189b41f416960ee91e38c04dd 280w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?w=560\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=20b41cc88db8fe64c68bd8bc685d6631 560w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?w=840\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=3f017435288186ce9c0d34c3714486ee 840w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?w=1100\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=1609e921e2d163c58a298403e51dc81b 1100w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?w=1650\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=725bbcfe2423247d766372300d5c5c77 1650w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-add-sso-config.png?w=2500\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=9f2fb1e734f82500f6be5c72da5b4457 2500w`})})]}),_jsxs(Step,{title:`Fill in the basic fields`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enabled`}),`: turn this on.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Name`}),`: a lowercase alphanumeric label — for example, `,_jsx(_components.code,{children:`adfssaml`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SSO Provider`}),`: choose `,_jsx(_components.strong,{children:`Custom`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Authentication Configuration`}),`: select `,_jsx(_components.strong,{children:`SAML v2`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`Leave `,_jsx(_components.strong,{children:`Identity Provider Endpoint`}),` and `,_jsx(_components.strong,{children:`X.509 Certificate`}),` blank for now — you’ll fill them in once AD FS surfaces those values.`]})]}),_jsxs(Step,{title:`Save to reveal the Single sign-on URL, Audience URI (SP Entity ID), and Relay URL`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`. TrueFoundry displays the values you need for AD FS on the SSO configuration card:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`AD FS field`}),_jsx(_components.th,{children:`Value from TrueFoundry`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Assertion Consumer Service (ACS) URL`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Single Sign On URL`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Relying Party Trust Identifier`})}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Audience URI (SP Entity ID)`})})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Relay State`}),` `,_jsx(_components.em,{children:`(if used)`})]}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Relay URL`})})]})]})]}),_jsx(Frame,{caption:`TrueFoundry SSO configuration card showing the SAML values to copy into AD FS`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=e061fae840c0fa4e8af3c4efe9961a2b`,alt:`TrueFoundry SSO configuration card displaying Audience URI, Single Sign On URL, Metadata URL, and Relay URL for SAML setup`,\"data-og-width\":`1024`,width:`1024`,\"data-og-height\":`391`,height:`391`,\"data-path\":`images/sso/entra/saml-truefoundry-sp-metadata.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?w=280\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=ac7d660c468582770a013b88106404b9 280w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?w=560\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=d28f5280cd347ed5332df60b38b60cb4 560w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?w=840\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=f455db41f761ccfd3b557b6998c971f2 840w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?w=1100\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=77cfefec300c328c8b9ae78e5452a79b 1100w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?w=1650\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=c8dd040ce6d176b50d756aaca6e2d4f0 1650w, https://mintcdn.com/truefoundry/OlEFjoHwZJ0edSjd/images/sso/entra/saml-truefoundry-sp-metadata.png?w=2500\u0026fit=max\u0026auto=format\u0026n=OlEFjoHwZJ0edSjd\u0026q=85\u0026s=45b02e79dc3492dac7a1ad8124a4a333 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-—-create-a-relying-party-trust-in-ad-fs`,children:`Step 2 — Create a Relying Party Trust in AD FS`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open AD FS Management`,children:[_jsxs(_components.p,{children:[`On your AD FS server, open `,_jsx(_components.strong,{children:`Server Manager → Tools → AD FS Management`}),`.`]}),_jsxs(_components.p,{children:[`In the left navigation, select `,_jsx(_components.strong,{children:`Relying Party Trusts`}),`, then under `,_jsx(_components.strong,{children:`Actions`}),`, click `,_jsx(_components.strong,{children:`Add Relying Party Trust…`}),`.`]})]}),_jsx(Step,{title:`Choose Claims aware`,children:_jsxs(_components.p,{children:[`On the `,_jsx(_components.strong,{children:`Welcome`}),` page of the wizard, select `,_jsx(_components.strong,{children:`Claims aware`}),` and click `,_jsx(_components.strong,{children:`Start`}),`.`]})}),_jsxs(Step,{title:`Select the data source`,children:[_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Select Data Source`}),`, pick one of the following based on how your TrueFoundry control plane is reachable:`]}),_jsxs(Tabs,{children:[_jsx(Tab,{title:`Public / reachable URL`,id:`public-%2F-reachable-url`,children:_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`Import data about the relying party published online or on a local network`}),` and enter the metadata URL of your TrueFoundry control plane. This is the recommended option when AD FS can reach the control plane.`]})}),_jsxs(Tab,{title:`Internal / manual entry`,id:`internal-%2F-manual-entry`,children:[_jsxs(_components.p,{children:[`Choose `,_jsx(_components.strong,{children:`Enter data about the relying party manually`}),` and supply the values manually on the following screens:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Display name`}),` — any descriptive label (used in PowerShell later).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configure URL`}),` — enable `,_jsx(_components.strong,{children:`SAML 2.0`}),` and paste the TrueFoundry `,_jsx(_components.strong,{children:`Single Sign On URL`}),` as the Assertion Consumer Service URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Configure Identifiers`}),` — add the TrueFoundry `,_jsx(_components.strong,{children:`Audience URI (SP Entity ID)`}),` as the Relying Party Trust Identifier.`]}),`\n`]})]})]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Next`}),`.`]})]}),_jsxs(Step,{title:`Specify a display name`,children:[_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Specify Display Name`}),`, enter a `,_jsx(_components.strong,{children:`Display name`}),` such as `,_jsx(_components.code,{children:`TrueFoundry`}),`. Optionally add notes, then click `,_jsx(_components.strong,{children:`Next`}),`.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Remember this exact display name — you will pass it to PowerShell in `,_jsx(_components.a,{href:`#step-4-sign-both-the-saml-response-and-assertion`,children:`Step 4`}),`.`]})})]}),_jsx(Step,{title:`Choose an access control policy`,children:_jsxs(_components.p,{children:[`On `,_jsx(_components.strong,{children:`Choose Access Control Policy`}),`, select `,_jsx(_components.strong,{children:`Permit everyone`}),` for a typical deployment, or pick a more restrictive policy (such as `,_jsx(_components.strong,{children:`Permit specific group`}),`) if you want only specific AD groups to use TrueFoundry. Click `,_jsx(_components.strong,{children:`Next`}),`.`]})}),_jsx(Step,{title:`Finalize the trust`,children:_jsxs(_components.p,{children:[`Review the configuration on `,_jsx(_components.strong,{children:`Ready to Add Trust`}),` and click `,_jsx(_components.strong,{children:`Next`}),`. On `,_jsx(_components.strong,{children:`Finish`}),`, leave `,_jsx(_components.strong,{children:`Configure claims issuance policy for this application`}),` checked and click `,_jsx(_components.strong,{children:`Close`}),`. The `,_jsx(_components.strong,{children:`Edit Claim Issuance Policy`}),` dialog opens automatically.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-—-configure-claim-issuance-rules`,children:`Step 3 — Configure claim issuance rules`}),`\n`,_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Edit Claim Issuance Policy`}),` dialog, add two rules: one to send LDAP attributes as claims, and one to transform the email claim into a properly formatted NameID.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Add a 'Send LDAP Attributes as Claims' rule`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add Rule…`}),`, choose `,_jsx(_components.strong,{children:`Send LDAP Attributes as Claims`}),`, and click `,_jsx(_components.strong,{children:`Next`}),`.`]}),_jsxs(_components.p,{children:[`Enter a `,_jsx(_components.strong,{children:`Claim rule name`}),` such as `,_jsx(_components.code,{children:`LDAP attributes`}),`, select `,_jsx(_components.strong,{children:`Active Directory`}),` as the `,_jsx(_components.strong,{children:`Attribute store`}),`, and add the following mappings:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`LDAP Attribute`}),_jsx(_components.th,{children:`Outgoing Claim Type`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`E-Mail-Addresses`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`E-Mail Address`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`E-Mail-Addresses`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Object-Guid`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sub`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Given-Name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Given Name`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`Surname`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Surname`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`User-Principal-Name`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Name ID`})})]})]})]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Finish`}),`.`]})]}),_jsxs(Step,{title:`Add a NameID transform rule`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Add Rule…`}),` again, choose `,_jsx(_components.strong,{children:`Transform an Incoming Claim`}),`, and click `,_jsx(_components.strong,{children:`Next`}),`.`]}),_jsx(_components.p,{children:`Configure the rule as follows:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Claim rule name`}),`: `,_jsx(_components.code,{children:`Email to NameID`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Incoming claim type`}),`: `,_jsx(_components.strong,{children:`E-Mail Address`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Outgoing claim type`}),`: `,_jsx(_components.strong,{children:`Name ID`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Outgoing name ID format`}),`: `,_jsx(_components.strong,{children:`Email`})]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Pass through all claim values`}),`.`]}),`\n`]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Finish`}),`.`]}),_jsxs(Tip,{children:[_jsx(_components.p,{children:`If you prefer to write the rule in the Claim Rule Language directly (for example to script the deployment), the equivalent rule is:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`c:[Type == \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` => issue(Type = \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Issuer = c.Issuer,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OriginalIssuer = c.OriginalIssuer,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Value = c.Value,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ValueType = c.ValueType,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Properties[\"http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` = \"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\");`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`OK`}),` to close the `,_jsx(_components.strong,{children:`Edit Claim Issuance Policy`}),` dialog.`]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Without the NameID transform rule, AD FS sends `,_jsx(_components.code,{children:`NameID`}),` with `,_jsx(_components.code,{children:`Format=\"Unspecified\"`}),`. TrueFoundry will reject the assertion with an `,_jsx(_components.strong,{children:`InvalidNameIDPolicy`}),` error.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`step-4-—-sign-both-the-saml-response-and-assertion`,children:`Step 4 — Sign both the SAML response and assertion`}),`\n`,_jsx(_components.p,{children:`By default AD FS only signs the SAML assertion, but TrueFoundry requires both the response message and the assertion to be signed.`}),`\n`,_jsxs(_components.p,{children:[`Open `,_jsx(_components.strong,{children:`Windows PowerShell`}),` as an administrator on the AD FS server and run:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`Set-ADFSRelyingPartyTrust`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -TargetName `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cdisplay-name>\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -SamlResponseSignature `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"MessageAndAssertion\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`\u003cdisplay-name>`}),` with the exact `,_jsx(_components.strong,{children:`Display name`}),` you set in Step 2.`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-5-—-paste-ad-fs-values-back-into-truefoundry`,children:`Step 5 — Paste AD FS values back into TrueFoundry`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Locate the AD FS SAML sign-in URL`,children:[_jsx(_components.p,{children:`AD FS exposes its SAML endpoint at:`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://\u003cadfs-server>/adfs/ls/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`You can confirm this value by browsing to `,_jsx(_components.strong,{children:`AD FS Management → Service → Endpoints`}),` and locating the row of type `,_jsx(_components.code,{children:`SAML 2.0/WS-Federation`}),` with URL path `,_jsx(_components.code,{children:`/adfs/ls/`}),`.`]})]}),_jsxs(Step,{title:`Export the token-signing certificate`,children:[_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`AD FS Management`}),`, expand `,_jsx(_components.strong,{children:`Service → Certificates`}),`. Right-click the `,_jsx(_components.strong,{children:`Token-signing`}),` certificate and choose `,_jsx(_components.strong,{children:`View Certificate…`}),`.`]}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the `,_jsx(_components.strong,{children:`Details`}),` tab and click `,_jsx(_components.strong,{children:`Copy to File…`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Choose `,_jsx(_components.strong,{children:`Base-64 encoded X.509 (.CER)`}),` and save the certificate to disk.`]}),`\n`,_jsxs(_components.li,{children:[`Open the saved `,_jsx(_components.code,{children:`.cer`}),` file in a text editor and copy the entire contents — including the `,_jsx(_components.code,{children:`-----BEGIN CERTIFICATE-----`}),` and `,_jsx(_components.code,{children:`-----END CERTIFICATE-----`}),` lines.`]}),`\n`]})]}),_jsxs(Step,{title:`Paste the values into TrueFoundry`,children:[_jsxs(_components.p,{children:[`Return to `,_jsx(_components.strong,{children:`Settings → Security \u0026 Access → SSO`}),` in TrueFoundry and edit the SSO configuration you created in Step 1. Set:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Identity Provider Endpoint`}),` → `,_jsx(_components.code,{children:`https://\u003cadfs-server>/adfs/ls/`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`X.509 Certificate`}),` → the PEM-encoded certificate text you just copied.`]}),`\n`]}),_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`.`]})]}),_jsxs(Step,{title:`(Optional) Customise the login button`,children:[_jsxs(_components.p,{children:[`Expand `,_jsx(_components.strong,{children:`Show advanced fields`}),` in the SSO form to set:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Button Text`}),` — for example, `,_jsx(_components.code,{children:`Login with AD FS`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Button Image URL`}),` — a public URL to your AD FS / corporate logo.`]}),`\n`]}),_jsxs(_components.p,{children:[`Leave `,_jsx(_components.strong,{children:`Email Claim`}),` and `,_jsx(_components.strong,{children:`Unique ID Claim`}),` at their defaults; the claim rules you added in Step 3 already emit the standard claim types TrueFoundry expects.`]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`step-6-—-test-single-sign-on`,children:`Step 6 — Test single sign-on`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open a private/incognito window and go to your TrueFoundry login page.`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Login with AD FS`}),` (or the button label you chose).`]}),`\n`,_jsx(_components.li,{children:`Authenticate with an Active Directory user that is permitted by your access control policy.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If sign-in succeeds you will land in the TrueFoundry dashboard. The user is created automatically when `,_jsx(_components.a,{href:`/docs/platform/user-management#user-provisioning`,children:`JIT provisioning`}),` is enabled; otherwise they must already exist in TrueFoundry or be invited first.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`'InvalidNameIDPolicy' or 'NameID policy not satisfied' on sign-in`,id:`invalidnameidpolicy-or-nameid-policy-not-satisfied-on-sign-in`,children:_jsxs(_components.p,{children:[`AD FS is sending `,_jsx(_components.code,{children:`NameID`}),` with `,_jsx(_components.code,{children:`Format=\"Unspecified\"`}),`. Re-open `,_jsx(_components.strong,{children:`Edit Claim Issuance Policy`}),` on the Relying Party Trust and confirm the `,_jsx(_components.strong,{children:`Email to NameID`}),` transform rule from `,_jsx(_components.a,{href:`#step-3-configure-claim-issuance-rules`,children:`Step 3`}),` is present and ordered after the LDAP attribute rule.`]})}),_jsxs(Accordion,{title:`'Invalid Signature' or 'SAML response was not signed'`,id:`invalid-signature-or-saml-response-was-not-signed`,children:[_jsxs(_components.p,{children:[`AD FS only signed the assertion, not the response. Re-run the PowerShell command from `,_jsx(_components.a,{href:`#step-4-sign-both-the-saml-response-and-assertion`,children:`Step 4`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`powershell`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`powershell`,children:_jsxs(_components.code,{language:`powershell`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`Set-ADFSRelyingPartyTrust`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -TargetName `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cdisplay-name>\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` -SamlResponseSignature `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"MessageAndAssertion\"`})]}),`\n`]})})})]}),_jsx(Accordion,{title:`'Could not validate SAML response' / certificate mismatch`,id:`could-not-validate-saml-response-certificate-mismatch`,children:_jsxs(_components.p,{children:[`The token-signing certificate copied into TrueFoundry no longer matches the active certificate on AD FS — usually after an AD FS certificate rollover. Re-export the current `,_jsx(_components.strong,{children:`Token-signing`}),` certificate from `,_jsx(_components.strong,{children:`AD FS Management → Service → Certificates`}),` and paste the full PEM (including the BEGIN/END lines) back into TrueFoundry.`]})}),_jsx(Accordion,{title:`Users sign in but email or unique ID is empty`,id:`users-sign-in-but-email-or-unique-id-is-empty`,children:_jsxs(_components.p,{children:[`Confirm the `,_jsx(_components.strong,{children:`Send LDAP Attributes as Claims`}),` rule emits `,_jsx(_components.code,{children:`email`}),` and `,_jsx(_components.code,{children:`sub`}),` as described in `,_jsx(_components.strong,{children:`Step 3`}),`, and that the user has populated `,_jsx(_components.code,{children:`mail`}),` / `,_jsx(_components.code,{children:`userPrincipalName`}),` and `,_jsx(_components.code,{children:`objectGUID`}),` values in Active Directory. If your AD schema uses different attribute names, expand `,_jsx(_components.strong,{children:`Show advanced fields`}),` in TrueFoundry and set `,_jsx(_components.strong,{children:`Email Claim`}),` and `,_jsx(_components.strong,{children:`Unique ID Claim`}),` to match the outgoing claim types you configured.`]})}),_jsx(Accordion,{title:`AD FS shows 'access denied' before the user reaches TrueFoundry`,id:`ad-fs-shows-access-denied-before-the-user-reaches-truefoundry`,children:_jsxs(_components.p,{children:[`Your `,_jsx(_components.strong,{children:`Access Control Policy`}),` on the Relying Party Trust is rejecting the user. Switch the policy to `,_jsx(_components.strong,{children:`Permit everyone`}),`, or add the user’s AD group to the existing policy under `,_jsx(_components.strong,{children:`Edit Access Control Policy…`}),`.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"SAML with Microsoft AD FS","sidebarTitle":"SSO via SAML","description":"Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.","href":"/docs/platform/sso/adfs/saml"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Configuration overview","slug":"configuration-overview","depth":2,"children":[]},{"title":"Step 1 — Create the SSO configuration in TrueFoundry","slug":"step-1-—-create-the-sso-configuration-in-truefoundry","depth":2,"children":[]},{"title":"Step 2 — Create a Relying Party Trust in AD FS","slug":"step-2-—-create-a-relying-party-trust-in-ad-fs","depth":2,"children":[]},{"title":"Step 3 — Configure claim issuance rules","slug":"step-3-—-configure-claim-issuance-rules","depth":2,"children":[]},{"title":"Step 4 — Sign both the SAML response and assertion","slug":"step-4-—-sign-both-the-saml-response-and-assertion","depth":2,"children":[]},{"title":"Step 5 — Paste AD FS values back into TrueFoundry","slug":"step-5-—-paste-ad-fs-values-back-into-truefoundry","depth":2,"children":[]},{"title":"Step 6 — Test single sign-on","slug":"step-6-—-test-single-sign-on","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/truefoundry/9e0085f7ed271180/scripts.js"],"subdomain":"truefoundry","siteName":"TrueFoundry Docs","title":"SAML with Microsoft AD FS - TrueFoundry Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T07:27:51.532Z","originalFileLocation":"docs/platform/sso/adfs/saml.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TrueFoundry Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"SAML with Microsoft AD FS - TrueFoundry Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"TrueFoundry offers an enterprise-grade AI Gateway combining LLM, MCP, and Agent Gateways—empowering businesses to connect, monitor, and govern agentic AI applications across providers from a unified control plane.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TrueFoundry Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.truefoundry.com/docs/platform/sso/adfs/saml\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://assets.production.truefoundry.com/logo.svg\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"SAML with Microsoft AD FS - TrueFoundry Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"TrueFoundry offers an enterprise-grade AI Gateway combining LLM, MCP, and Agent Gateways—empowering businesses to connect, monitor, and govern agentic AI applications across providers from a unified control plane.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://assets.production.truefoundry.com/logo.svg\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/truefoundry/DMuq4kzeTciVEGUc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TrueFoundry Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f46e5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.truefoundry.com/docs/platform/sso/adfs/saml\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/platform/sso/adfs/saml.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.truefoundry.com/#organization\",\"name\":\"TrueFoundry Docs\",\"url\":\"https://www.truefoundry.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/truefoundry/e2uUimEwX30qkWxc/logo/light.svg?fit=max\u0026auto=format\u0026n=e2uUimEwX30qkWxc\u0026q=85\u0026s=6068d83664aeda0239bec2422657dd20\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.truefoundry.com#website\",\"name\":\"TrueFoundry Docs\",\"url\":\"https://www.truefoundry.com\",\"publisher\":{\"@id\":\"https://www.truefoundry.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml#webpage\",\"url\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml\",\"name\":\"SAML with Microsoft AD FS\",\"description\":\"Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.\",\"dateModified\":\"2026-11-13T07:27:51.532Z\",\"isPartOf\":{\"@id\":\"https://www.truefoundry.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Platform\",\"item\":\"https://www.truefoundry.com/docs/platform/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSO \u0026 SCIM Provisioning\",\"item\":\"https://www.truefoundry.com/docs/platform/sso/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"SAML with Microsoft AD FS\",\"item\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml#article\",\"headline\":\"SAML with Microsoft AD FS\",\"name\":\"SAML with Microsoft AD FS\",\"description\":\"Configure SAML 2.0 single sign-on between TrueFoundry and an on-premise Microsoft Active Directory Federation Services (AD FS) deployment.\",\"url\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml\",\"mainEntityOfPage\":{\"@id\":\"https://www.truefoundry.com/docs/platform/sso/adfs/saml#webpage\"},\"image\":\"https://assets.production.truefoundry.com/logo.svg\",\"dateModified\":\"2026-11-13T07:27:51.532Z\",\"publisher\":{\"@id\":\"https://www.truefoundry.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.truefoundry.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TrueFoundry Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TrueFoundry Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/platform/sso/adfs/saml.md","siteName":"TrueFoundry Docs","nav":{"global":null,"tabs":[{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/docs/ai-gateway/intro-to-llm-gateway"}]},{"tab":"Agent Platform","pages":[{"title":"Agent Platform","href":"/docs/agent-platform/agent-harness/overview"}]},{"tab":"Platform","groups":[{"group":"Platform","pages":[{"title":"TrueFoundry Overview","sidebarTitle":"Overview","href":"/docs/platform/overview"},{"group":"Architecture","pages":[{"title":"TrueFoundry Architecture","sidebarTitle":"Overview","href":"/docs/platform/architecture"},{"title":"TrueFoundry Control Plane","sidebarTitle":"Control Plane","href":"/docs/platform/control-plane-architecture"},{"title":"TrueFoundry AI Gateway Plane Architecture","sidebarTitle":"Gateway Plane","href":"/docs/platform/gateway-plane-architecture"},{"title":"TrueFoundry Compute Plane Architecture","sidebarTitle":"Compute Plane","href":"/docs/platform/compute-plane-architecture"}]},{"group":"Identity and Access Management","pages":[{"title":"Identity and Access Management Overview","sidebarTitle":"Overview","href":"/docs/platform/user-team-account-management"},{"title":"Manage Users","href":"/docs/platform/user-management"},{"title":"Manage Teams","href":"/docs/platform/team-management"},{"title":"Manage Virtual Accounts","href":"/docs/platform/virtual-account-management"},{"title":"Manage User Roles \u0026 Permissions","href":"/docs/platform/manage-user-roles-and-permissions"},{"title":"API Keys","sidebarTitle":"API Keys","href":"/docs/generating-truefoundry-api-keys"},{"group":"Identity Providers","pages":[{"title":"Identity Providers","sidebarTitle":"Overview","href":"/docs/platform/identity-providers/overview"},{"title":"External JWT","sidebarTitle":"External JWT","href":"/docs/platform/identity-providers/external-jwt"},{"group":"Workload Identity Federation","pages":[{"title":"Workload Identity Federation","sidebarTitle":"Overview","href":"/docs/platform/identity-providers/workload-identity-federation/overview"},{"title":"GitHub Actions","sidebarTitle":"GitHub Actions","href":"/docs/platform/identity-providers/workload-identity-federation/github-actions"},{"title":"Kubernetes","sidebarTitle":"Kubernetes","href":"/docs/platform/identity-providers/workload-identity-federation/kubernetes"},{"title":"AWS","sidebarTitle":"AWS","href":"/docs/platform/identity-providers/workload-identity-federation/aws"},{"title":"GCP","sidebarTitle":"GCP","href":"/docs/platform/identity-providers/workload-identity-federation/gcp"}]}]}]},{"group":"SSO \u0026 SCIM Provisioning","pages":[{"title":"SSO \u0026 SCIM Overview","sidebarTitle":"Overview","href":"/docs/platform/sso/overview"},{"group":"Microsoft Entra ID","pages":[{"title":"SAML with Microsoft Entra ID","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/entra/saml"},{"title":"OIDC with Microsoft Entra ID","sidebarTitle":"SSO via OIDC","href":"/docs/platform/sso/entra/oidc"},{"title":"SCIM with Microsoft Entra ID","sidebarTitle":"Setup SCIM","href":"/docs/platform/sso/entra/scim"}]},{"group":"Okta","pages":[{"title":"SAML with Okta","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/okta/saml"},{"title":"SSO: OIDC with Okta","sidebarTitle":"SSO via OIDC","href":"/docs/platform/sso/okta/oidc"},{"title":"SSO: Okta OIN","sidebarTitle":"SSO via OIN","href":"/docs/platform/sso/okta/oin"},{"title":"SCIM with Okta","sidebarTitle":"Setup SCIM","href":"/docs/platform/sso/okta/scim"}]},{"group":"Google Workspace","pages":[{"title":"SAML with Google Workspace","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/google/saml"}]},{"group":"JumpCloud","pages":[{"title":"SAML with JumpCloud","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/jumpcloud/saml"},{"title":"SCIM with JumpCloud","sidebarTitle":"Setup SCIM","href":"/docs/platform/sso/jumpcloud/scim"}]},{"group":"OneLogin","pages":[{"title":"SAML with OneLogin","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/onelogin/saml"},{"title":"SCIM with OneLogin","sidebarTitle":"Setup SCIM","href":"/docs/platform/sso/onelogin/scim"}]},{"group":"Auth0","pages":[{"title":"OIDC with Auth0","sidebarTitle":"SSO via OIDC","href":"/docs/platform/sso/auth0/oidc"},{"title":"SAML with Auth0","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/auth0/saml"}]},{"group":"Keycloak","pages":[{"title":"SSO: OIDC with Keycloak","sidebarTitle":"SSO via OIDC","description":"Configure OpenID Connect single sign-on between TrueFoundry and a Keycloak realm.","href":"/docs/platform/sso/keycloak/oidc"}]},{"group":"Microsoft AD FS","pages":[{"title":"SAML with Microsoft AD FS","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/adfs/saml"}]},{"group":"PingOne","pages":[{"title":"SAML with PingOne","sidebarTitle":"SSO via SAML","description":"Configure SAML 2.0 single sign-on between TrueFoundry and Ping Identity, covering both PingOne (cloud) and PingFederate (hybrid/on-prem).","href":"/docs/platform/sso/pingone/saml"}]},{"group":"Rippling","pages":[{"title":"SAML with Rippling","sidebarTitle":"SSO via SAML","href":"/docs/platform/sso/rippling/saml"}]},{"title":"SAML with a Custom Identity Provider","sidebarTitle":"Custom SAML","href":"/docs/platform/sso/custom-saml"},{"title":"OIDC with a Custom Identity Provider","sidebarTitle":"Custom OIDC","href":"/docs/platform/sso/custom-oidc"},{"title":"External SSO (OIDC/SAML)","href":"/docs/deploy-control-plane-with-external-oauth"}]},{"title":"Setup For CLI","href":"/docs/setup-cli"},{"title":"Repositories","href":"/docs/platform/repositories"},{"group":"Integrations","pages":[{"title":"Integrations","sidebarTitle":"Overview","href":"/docs/integrations-overview"},{"title":"AWS Integration","sidebarTitle":"AWS","href":"/docs/integration-provider-aws"},{"title":"GCP Integration","sidebarTitle":"GCP","href":"/docs/integration-provider-gcp"},{"title":"Azure Integration","sidebarTitle":"Azure","href":"/docs/integration-provider-azure"},{"title":"Github","href":"/docs/github-integration-set-up"},{"title":"Gitlab","href":"/docs/gitlab-integration-set-up"},{"title":"Bitbucket","href":"/docs/bitbucket-integration-set-up"},{"title":"Bitbucket Integration using PAT","href":"/docs/bitbucket-data-center-pat-integration"},{"title":"Azure Repos","href":"/docs/azure-repos-integration-set-up"},{"title":"PagerDuty","href":"/docs/pagerduty-integration"},{"title":"MS Teams","href":"/docs/ms-teams-integration"},{"title":"Slack","href":"/docs/slack-bot-integration"},{"title":"Email Integration","href":"/docs/email-integration"},{"title":"Webhook Notification Channel","href":"/docs/webhook-notification-integration"},{"title":"HashiCorp Vault","href":"/docs/hashicorp"}]},{"title":"Setup GitOps","href":"/docs/setup-gitops-using-truefoundry"},{"title":"Audit Logging","href":"/docs/platform/audit-logging"},{"title":"Interact with TrueFoundry using AI","sidebarTitle":"Interact using AI","href":"/docs/interact-with-tfy-using-ai"},{"group":"Installation Guides","pages":[{"title":"Installation and Deployment Overview","sidebarTitle":"Overview","href":"/docs/platform/deployment-overview"},{"group":"Deploy Compute Plane","pages":[{"title":"Deploy Compute Plane","sidebarTitle":"Overview","href":"/docs/infrastructure/deploy-compute-plane"},{"group":"Installation Guides","pages":[{"title":"AWS Compute Plane Setup","sidebarTitle":"AWS","href":"/docs/infrastructure/aws-compute-plane-setup"},{"title":"GCP Compute Plane Setup","sidebarTitle":"GCP","href":"/docs/infrastructure/gcp-compute-plane-setup"},{"title":"Azure Compute Plane Setup","sidebarTitle":"Azure","href":"/docs/infrastructure/azure-compute-plane-setup"},{"title":"Generic","href":"/docs/infrastructure/generic-compute-plane-setup"}]},{"group":"Advanced Configuration","pages":[{"title":"LoadBalancer/Ingress","href":"/docs/loadbalancers"},{"title":"TFY Agent","href":"/docs/tfy-agent"},{"title":"Multiple clusters with one TFY Agent","href":"/docs/infrastructure/multi-logical-clusters-tfy-agent"},{"title":"Custom CA Certificate Injection","href":"/docs/infrastructure/custom-ca-certificate-injection"},{"title":"Cluster migration with Velero","href":"/docs/cluster-migration-with-velero"},{"title":"Infra Set Up For Workflows","href":"/docs/infra-set-up-for-workflows"}]}]},{"title":"Deploy Gateway Plane","href":"/docs/platform/deploy-gateway-plane"},{"group":"Deploy Control Plane and Gateway Plane","root":{"title":"Deploy AI Gateway (Control Plane)","sidebarTitle":"Overview","href":"/docs/platform/deploy-control-plane-and-gateway-plane"},"expanded":false,"directory":"accordion","pages":[{"title":"Deploy AI Gateway (Control Plane)","sidebarTitle":"Overview","href":"/docs/platform/deploy-control-plane-and-gateway-plane"},{"group":"Installation Guides","pages":[{"title":"Install on AWS","sidebarTitle":"AWS","href":"/docs/platform/deploy-control-plane-install-aws"},{"title":"Install on GCP","sidebarTitle":"GCP","href":"/docs/platform/deploy-control-plane-install-gcp"},{"title":"Install on Azure","sidebarTitle":"Azure","href":"/docs/platform/deploy-control-plane-install-azure"},{"title":"Install on OpenShift","sidebarTitle":"OpenShift","href":"/docs/platform/deploy-control-plane-install-openshift"},{"title":"Install on-prem","sidebarTitle":"On-prem","href":"/docs/platform/deploy-control-plane-install-onprem"}]},{"title":"Deploy AI Gateway FAQs","sidebarTitle":"FAQs","href":"/docs/platform/deploy-control-plane-faq"}]},{"group":"Deploy Control Plane and Compute Plane","pages":[{"title":"Deploy Control Plane and Compute Plane","sidebarTitle":"Overview","href":"/docs/deploy-control-and-compute-plane"},{"group":"Installation Guides","pages":[{"title":"AWS Control Plane Setup","sidebarTitle":"AWS","href":"/docs/aws-control-plane"},{"title":"GCP Control Plane Setup","sidebarTitle":"GCP","href":"/docs/gcp-control-plane"},{"title":"Azure Control Plane Setup","sidebarTitle":"Azure","href":"/docs/azure-control-plane"},{"title":"Deploy Generic Control Plane","sidebarTitle":"Generic","href":"/docs/generic-control-plane"},{"title":"Deploy on OpenShift / ROSA","sidebarTitle":"OpenShift / ROSA","href":"/docs/openshift-control-plane"}]},{"group":"Advanced Configuration","pages":[{"title":"Customize Build Workflow","href":"/docs/customize-build-workflow"},{"title":"Customizing CI/CD Templates","href":"/docs/customizing-cicd-templates"},{"title":"Customizing Workbench Images","href":"/docs/customizing-workbench-images"}]}]}]},{"group":"Control Plane Management","pages":[{"title":"Control Plane Monitoring","href":"/docs/platform/controlplane-monitoring"},{"title":"Manage Multi-Tenancy on the Control Plane","sidebarTitle":"Multi-Tenancy","href":"/docs/platform/controlplane-multitenant"},{"title":"Releases, Upgrades, and Rollbacks","href":"/docs/platform/control-plane-upgrade"}]},{"group":"Security","pages":[{"title":"Security settings","sidebarTitle":"Security Settings","href":"/docs/platform/security-settings"},{"title":"SaaS security","sidebarTitle":"SaaS Security","href":"/docs/platform/saas-security"},{"title":"Self-hosted security","sidebarTitle":"Self-Hosted Security","href":"/docs/platform/onprem-security"},{"title":"Rotate credentials","sidebarTitle":"Rotate Credentials","href":"/docs/platform/rotate-credentials"},{"title":"Delete the organization account","sidebarTitle":"Delete Tenant","href":"/docs/platform/tenant-deletion"}]},{"title":"Support","href":"/docs/platform/support"},{"group":"Reliability","pages":[{"title":"Disaster Recovery","sidebarTitle":"Disaster Recovery","href":"/docs/platform/disaster-recovery"}]}]}]},{"tab":"AI Deployment","pages":[{"title":"AI Deployment","href":"/docs/ai-deployment-overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/docs/truefoundry_sdk"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/docs/ai-gateway/ecosystem"}]},{"tab":"Changelog","groups":[{"group":" ","pages":[{"title":"Changelog","href":"/docs/changelog"},{"group":"Announcements","pages":[{"title":"Deprecation of Rate Limiting V1 — 2nd November, 2026","href":"/docs/change-announcements/deprecation-of-rate-limiting-v1"},{"title":"Move to Named Guardrail Policies — v0.179","href":"/docs/change-announcements/named-guardrails-config-v0.179"},{"title":"Perplexity Models Move to the Agent API","href":"/docs/change-announcements/perplexity-agent-api-migration"},{"title":"Plan-Based Feature Gating — v0.174.0","href":"/docs/change-announcements/plan-based-feature-gating-v0.174.0"},{"title":"Agent Builder Moving to Trueforge \u0026 Agent APIs Deprecated — v0.172","href":"/docs/change-announcements/agents-moving-to-trueforge"},{"title":"Removing Collaborators from Resources — v0.172.0","href":"/docs/change-announcements/removing-collaborators-from-resources"},{"title":"Deprecation of MCP tool_settings — 26th October, 2026","href":"/docs/change-announcements/deprecation-of-mcp-tool-settings"},{"title":"Deprecation of truefoundry \u003c 0.17.0 and truefoundry-sdk \u003c 0.4.0 packages","sidebarTitle":"Deprecation of truefoundry \u003c 0.17.0 and truefoundry-sdk \u003c 0.4.0 packages - 19th August 2026","href":"/docs/change-announcements/deprecation-of-truefoundry-below-0.17-and-api-ml"},{"title":"Minimum Python Version Raised to 3.10 — truefoundry v0.17.0","href":"/docs/change-announcements/python-3.10-minimum-truefoundry-cli-v0.17.0"},{"title":"Budget Limiting V2 — v0.158.0","href":"/docs/change-announcements/budget-limiting-v2-v0.158.0"},{"title":"Deprecation of MCP Servers APIs — 30th September, 2026","href":"/docs/change-announcements/deprecation-of-mcp-servers-v1-apis"},{"title":"Deprecation of Images and Plots in Job Runs — v0.156.0","href":"/docs/change-announcements/deprecation-of-images-and-plots-in-job-runs-v0.156.0"},{"title":"Moving to External Secrets Operator for Secrets Management — v0.151.5","href":"/docs/change-announcements/moving-to-eso-for-secret-management-v0.151.5"},{"title":"MCP DCR client_id \u0026 Redirect URL Validation — v0.148","href":"/docs/change-announcements/mcp-dcr-client-id-validation-v0.148"},{"title":"Deprecation of Routing Config","href":"/docs/change-announcements/deprecation-of-routing-config"},{"title":"Identity and Access Revamp — v0.143","href":"/docs/change-announcements/identity-and-access-revamp-v0.143"},{"title":"AI Gateway Metrics Rename — v0.136","href":"/docs/change-announcements/refactoring-of-ai-gateway-metrics"},{"title":"Deprecation of MCP Servers in Prompts","href":"/docs/change-announcements/deprecation-of-mcp-servers-in-prompts"},{"title":"Deprecation of Common Tools in Playground and Settings — v0.135","href":"/docs/change-announcements/deprecation-of-common-tools-v0-135-0"},{"title":"x-tfy-routing-config Header Removal — v0.133","href":"/docs/change-announcements/routing-config-header-removal-v0.133"},{"title":"Simplified GitOps CI/CD with tfy apply — v0.132","href":"/docs/change-announcements/simplified-gitops-cicd-v0.132"},{"title":"Legacy MCP OAuth Routes Removal — v0.134","href":"/docs/change-announcements/legacy-mcp-oauth-routes-removal"},{"title":"MCP Gateway URL and Transport Changes — v0.130","href":"/docs/change-announcements/mcp-gateway-url-transport-v0.130"},{"title":"Gemini CLI Model Registration Requirement — v0.118","href":"/docs/change-announcements/gemini-cli-model-registration-v0.118"},{"title":"Guardrails YAML Schema Change — v0.116","href":"/docs/change-announcements/guardrails-yaml-schema-change-v0.116"},{"title":"MCP Server Groups Removal — v0.112","href":"/docs/change-announcements/mcp-server-groups-removal-v0.112"}]}]}]}]},"basePath":"","title":"SAML with Microsoft AD FS - TrueFoundry Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DMn5ZJp6.js","DynamicMarkdown-5yMTCLas.js","zoom-image-lightbox-BUkqX3JF.js","lightbox-handle-r17bVUz3.js"]}