Connect your identity provider so members sign in to your organization with their company account.
Beta is a preview. The Beta (2.0) platform does not have all the features
of Stable yet. For example, iMessage on Beta
supports only text and images, so tapbacks, polls, message effects, and voice
notes are only on Stable
for now. Use Stable for production agents, and confirm that Beta supports the
features you need before you buy a plan.
Single sign-on lets members sign in to your Photon organization through your
company’s identity provider (IdP), such as Okta, Microsoft Entra ID, or Google
Workspace. Photon supports SAML and OpenID Connect providers. You verify your
domain and connect your identity provider in a secure setup portal opened from
the Dashboard.SSO costs $220 per organization per month and is billed separately from
project plans. See Billing.
Only an organization Owner or Admin can set up SSO. During setup, you’ll add a
DNS record to verify your company’s email domain and configure an application
in your identity provider. Make sure you have access to both, or have your IT
administrator available to help.You’ll be prompted to confirm and purchase the SSO subscription the first time
you open the setup portal. The charge is prorated for the remainder of your
current billing period and billed to the organization’s
payment method.
SSO becomes required as soon as your identity provider is connected. From then
on, every member, including you, must sign in through your identity provider.
Each member signs in with the company account that uses the same email
address as their Photon account.
Only members with an email address on a verified domain can sign in once SSO
is enabled.
Both the organization Owner and the administrator setting up SSO must use an
email address on a verified domain. If the Owner uses a personal email, invite
their company email address to the organization and transfer ownership to that
account before you start.
Anyone with an email address on your verified domains may be required to use
SSO whenever they sign in to Photon, not only for this organization.
In the Dashboard, go to Security > Single sign-on. The page guides you
through each step and saves your progress, so you can close it and return at any
time.
1
Verify your domain
Select Verify domain. The first time you open the setup portal, confirm the
SSO subscription purchase.In the setup portal:
The setup portal asks for the domain your members' email addresses use.
Enter your company’s email domain, such as example.com.
Copy the TXT record shown in the portal.
Add it to your domain’s DNS settings while keeping your existing TXT
records.
Back on the Single sign-on page, the domain shows Waiting for DNS until
the record is detected. DNS changes usually take a few minutes, but can take up
to 48 hours. Select Check again to refresh the status.All verified domains for an organization must use the same identity provider.
2
Review members
Select Configure SSO. Before the setup portal opens, Photon checks your
organization’s members and shows anyone who won’t be able to sign in once SSO
is required:
Before the setup portal opens, Photon checks the Owner and your account, and lists members without a company email.
The Owner and your own account. Both must use an email address on a
verified domain before you can continue.
To change the Owner, invite the Owner’s company email from Members,
then transfer ownership to that account in Settings after the
invitation is accepted. Only the current Owner can transfer ownership.
To continue with a different account, sign in with a company account
that has the Owner or Admin role, or ask another administrator to finish
setup.
Members without a company email. Members whose email address isn’t on
a verified domain won’t be able to sign in once SSO is required. You can
remove them now or leave them in the organization until they switch to a
company account.
Select Continue to SSO setup when you’re ready.
3
Connect your identity provider
Follow the instructions in the setup portal to connect your identity
provider, then test the connection in the portal.For provider-specific setup instructions, see:
As soon as the connection becomes active, SSO is required for the
organization.
4
Verify sign-in
Back on the Single sign-on page, select Sign in with SSO and sign in
with your company account to confirm the connection works end to end. Once
verified, the connection status shows Active.
Copy the Company sign-in link from the Single sign-on page and share it
with your team. It sends members directly to your identity provider to sign in.
Under Joining, select Let new users join as Viewer to turn on Automatic
joining. Anyone who signs in through your identity provider can then join the
organization automatically as a Viewer, and you can update their role
afterward.Invited users still join with the role assigned in their invitation. Members who
were previously removed from the organization cannot rejoin automatically and
always require a new invitation.
Deactivating a user in your identity provider prevents them from signing in
again, but any connected apps, MCP clients, or personal keys they already set up
will keep working. To revoke their access immediately, remove them from
Members as well.
Select Manage SSO to open the setup portal when you need to update your
configuration—for example, to rotate a SAML certificate or an OpenID Connect
client secret, or to adjust attribute mapping. After making changes, select
Test sign-in to verify the connection. Modifying the connection signs
existing members out of the organization until they sign in again.Select Manage domains to add or verify additional domains.
To stop using SSO, turn it off in the Dashboard. Don’t delete
the connection in the setup portal—doing so locks everyone out of the
organization, including you.
Rotate your SAML certificate or OpenID Connect client secret before it
expires to avoid sign-in disruptions.
In Danger zone, select Turn off. Choose your domain and subscription
options, type turn off sso to confirm, and submit:
The connection to your identity provider is deleted, and members sign in
without SSO.
Automatic joining stops, so new members need an invitation to join.
Verified domains are unbound by default unless you uncheck them. Unbound
domains must be verified again before you can use them with SSO in the future.
You choose what happens to the SSO subscription:
End the SSO subscription. The subscription ends immediately, and any
unused days are credited back to the organization.
Keep the subscription. The subscription continues to renew so you can
set up SSO again without repurchasing it. You can also end it later under
Subscription on the Single sign-on page.
If a step fails while turning off SSO, select Try again to resume from where
it left off.
Add the TXT record to the exact domain you entered, not to a subdomain
such as www. Use a DNS lookup tool to confirm the record is published.
Copy the record value exactly as shown in the setup portal.
Allow up to 48 hours for DNS changes to propagate, then select Check
again.
Your company sign-in worked, but this organization hasn't given you access
Ask an Owner or Admin to send you an invitation or turn on automatic
joining.
You're signed in to Photon as someone else
Sign out of the Dashboard, then open the company sign-in link again.
Nobody can sign in to this organization
Contact [email protected] from the Owner’s
email address. We’ll verify ownership and help you restore access.
Was this page helpful?
⌘I
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Photon","colors":{"primary":"#47c6ed","light":"#47c6ed","dark":"#47c6ed"},"logo":{"light":"https://mintcdn.com/photon-6d78d87b/hMh2hcolREhyGomA/logo/light.svg?fit=max\u0026auto=format\u0026n=hMh2hcolREhyGomA\u0026q=85\u0026s=11512a078b26743f3341822f7095a71d","dark":"https://mintcdn.com/photon-6d78d87b/hMh2hcolREhyGomA/logo/dark.svg?fit=max\u0026auto=format\u0026n=hMh2hcolREhyGomA\u0026q=85\u0026s=0922f188bdc8d783c1460a707ca58215"},"favicon":"https://mintcdn.com/photon-6d78d87b/3zs1WCtLT_oibNcX/favicon-128x128.png?fit=max\u0026auto=format\u0026n=3zs1WCtLT_oibNcX\u0026q=85\u0026s=8c914cde9344878faf68ae81d39414e5","api":{"asyncapi":"https://api.photon.codes/asyncapi.yaml"},"navbar":{"links":[{"href":"https://photon.codes/contact","label":"Contact"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.photon.codes"}},"footer":{"socials":{"x":"https://x.com/photon_hq","github":"https://github.com/photon-hq","linkedin":"https://www.linkedin.com/company/photonhq","discord":"https://discord.gg/4c3VJzDfNA"}},"seo":{"metatags":{"canonical":"https://photon.codes/docs","og:image":"https://photon.codes/docs/images/social-cover.png","og:image:alt":"Photon dashboard on a blue background","twitter:card":"summary_large_image","twitter:image":"https://photon.codes/docs/images/social-cover.png","twitter:image:alt":"Photon dashboard on a blue background"}},"fonts":{"heading":{"family":"PolySansArabicVF","weight":600,"source":"https://photon.codes/docs/fonts/PolySansArabicVF.woff2","format":"woff2"},"body":{"family":"Inter"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"markdown":{"instructions":["Use Stable documentation by default. Honor an explicit Beta request or a URL under /docs/beta/. If the requested version conflicts with the installed CLI package or API origin, clarify the target before writing integration code.","Pages under /docs/beta/ document Beta; other product pages document Stable. Keep the CLI package, commands, API origin, and credentials within the selected version. State the documentation version in your answer.","For MCP search, always pass version: Stable or version: Beta. Unfiltered search mixes both versions. For filesystem reads, keep Beta queries under /beta/ and exclude /beta/ from Stable queries; discover paths before reading them.","The public docs base is https://photon.codes/docs. Convert MCP page paths to public URLs under that base, preserving /beta/ when present. Read https://photon.codes/docs/skill.md for version selection and https://photon.codes/docs/llms.txt for the version indexes."]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"photon-6d78d87b","hasAudioNarration":false,"actualSubdomain":"photon-6d78d87b","customDomains":["docs.photon.codes"],"gitSource":{"type":"github","owner":"photon-hq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af386c5a5d4d7fa41d580a3","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Low-level SDKs","count":1029},{"language":"default","tag":"Type reference","count":1009},{"language":"default","tag":"index","count":481},{"language":"default","tag":"chat","count":439},{"language":"default","tag":"Interfaces","count":434},{"language":"default","tag":"API Reference","count":260},{"language":"default","tag":"Endpoints","count":247},{"language":"default","tag":"spectrum-ts","count":235},{"language":"default","tag":"Type Aliases","count":225},{"language":"default","tag":"API Client","count":199}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"llms-txt-v2","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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n@font-face{font-family:'PolySansArabicVF';src:url('https://photon.codes/docs/fonts/PolySansArabicVF.woff2') format('woff2');font-weight:400;font-display:swap}.mdx-content{font-size:16px;font-weight:400;line-height:28px;letter-spacing:0}#page-title,.mdx-content h1{font-size:36px;font-weight:600;line-height:40px;letter-spacing:-0.2px}.mdx-content h2:not(.not-prose){font-size:24px;font-weight:600;line-height:32px;letter-spacing:0}.mdx-content h3,[data-component-part=\"card-title\"]{font-family:var(--font-family-headings-custom);font-size:20px;font-weight:600;line-height:32px;letter-spacing:0.02em}#header .prose{font-size:18px;font-weight:400;line-height:28px;letter-spacing:-0.02em}.mdx-content strong{font-weight:600}[data-component-part=\"card-content\"],[data-component-part=\"callout-content\"]{font-size:14px;font-weight:400;line-height:24px;letter-spacing:0}.sidebar-group a,.sidebar-group button,.toc a,[data-layout-item=\"search-entry\"]{font-size:14px;font-weight:400;line-height:20px;letter-spacing:0;text-shadow:none}.sidebar-group-header,.nav-tabs-item,.mobile-nav-tabs-item,[data-component-part=\"version-select-trigger\"],#table-of-contents h2,#table-of-contents h2 button{font-family:var(--font-family-body-custom);font-size:14px;font-weight:600;line-height:20px;letter-spacing:0;text-shadow:none}.eyebrow{font-family:'Geist Mono', monospace;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0}.mdx-content figcaption,[data-component-part=\"code-block-header\"],[data-component-part=\"code-group-tab-bar\"] [role=\"tab\"]{font-family:var(--font-family-headings-custom);font-size:12px;font-weight:400;line-height:18px;letter-spacing:0}.mdx-content a.link,[data-component-part=\"card-cta\"]{font-weight:600;letter-spacing:-0.01em}.mdx-content a.link{font-size:inherit;line-height:inherit}[data-component-part=\"card-cta\"]{font-size:14px;line-height:24px}code,pre{font-family:'Geist Mono', monospace!important;font-size:14px!important;line-height:24px!important;letter-spacing:0}code{font-weight:500}pre,pre code{font-weight:400}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border, rgba(128, 128, 128, 0.3));border-radius:9999px;border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:rgba(128, 128, 128, 0.5);border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-width:thin;scrollbar-color:var(--border, rgba(128, 128, 128, 0.3)) transparent}#navbar div:has(>a>.nav-logo){flex:0 0 auto!important}#navbar div[class*=\"ustify-end\"]{margin-left:0!important;flex:0 0 auto!important}#navbar .nav-tabs{column-gap:24px!important}#navbar #topbar-cta-button{position:fixed!important;right:1.75rem!important;top:0!important;height:3.5rem!important;display:flex!important;align-items:center!important}*/\n\n/*#content-container {\n border: 1px solid rgba(255, 255, 255, 0.07) !important;\n background-color: #101010;\n scroll-behavior: smooth !important;\n}\n\n.sidebar-group {\n font-weight: 400 !important;\n}*/\n\n#table-of-contents{scrollbar-width:none}#table-of-contents::-webkit-scrollbar{display:none}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]),#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]{--corner-shape-fallback: 0.945;position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;corner-shape:superellipse(1.1);border-radius:calc(40px * var(--one-if-corner-shape-supported, var(--corner-shape-fallback, 1)))!important;box-shadow:rgba(255, 255, 255, 0.5) 0px 0px 5px 2px inset!important;border-style:solid!important;border-width:1.5px!important;padding:8px 14px!important;color:rgb(255, 255, 255)!important;font-family:'Inter', sans-serif!important;font-size:14px!important;font-weight:500!important;text-shadow:rgba(128, 128, 128, 0.25) 0px 0px 4px;transition:box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1)!important;transform:scale(1)}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]):hover,#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]:hover{box-shadow:rgba(255, 255, 255, 0.5) 0px -2.77px 7.82px 2px inset!important;transform:scale(1.02)!important}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]),#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]{gap:0!important;transition:box-shadow 0.35s ease,\n transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),\n gap 0.25s ease!important}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]):hover,#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]:hover{gap:4px!important}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"])::after,#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]::after{content:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath d='M 0 0 L 5.5 5.25 L 0 10.5' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' stroke='white' transform='translate(13.75 6.75)'/%3E%3Cpath d='M 14.25 0 L 0 0' fill='none' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' stroke='white' transform='translate(4.75 12)'/%3E%3C/svg%3E\");display:inline-block;width:0;height:20px;opacity:0;overflow:hidden;line-height:0;transition:opacity 0.25s ease, width 0.25s ease;vertical-align:middle}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]):hover::after,#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]:hover::after{opacity:1;width:20px}#navbar a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]){background-color:rgb(41, 152, 217)!important;border-color:rgba(41, 152, 217, 0.62)!important;margin-left:8px!important}#navbar li.navbar-link>a[href=\"https://photon.codes/contact\"]{background-color:rgb(0, 0, 0)!important;border-color:rgba(255, 255, 255, 0.62)!important}nav[aria-label=\"Mobile menu\"] a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]){margin-left:0!important}nav[aria-label=\"Mobile menu\"] a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"])::before{display:none}#navbar li.navbar-link:has(>a[href=\"https://photon.codes/contact\"]){position:fixed!important;right:calc(28px + 111px + 8px)!important;top:0!important;height:56px!important;display:flex!important;align-items:center!important;border:none!important;background:transparent!important;padding:0!important;margin:0!important;z-index:10;transition:right 0.25s ease!important}#navbar:has(a:is([href^=\"https://app.photon.codes\"],[href^=\"https://app.beta.photon.codes\"]):hover) li.navbar-link:has(>a[href=\"https://photon.codes/contact\"]){right:calc(28px + 111px + 8px + 24px)!important}nav[aria-label=\"Mobile menu\"] li.navbar-link:has(>a[href=\"https://photon.codes/contact\"]){position:static!important;top:auto!important;right:auto!important;transform:none!important}div:has(>#chat-assistant-sheet){margin-top:56px!important;height:calc(100vh - 56px)!important;top:56px!important}.pt-catalogue{--pt-line: rgba(0, 0, 0, 0.12);--pt-line-soft: rgba(0, 0, 0, 0.07);--pt-header-bg: rgba(255, 255, 255, 0.92);--pt-4xx: rgb(146, 93, 10);--pt-5xx: rgb(176, 42, 42);--pt-accent: rgb(23, 122, 176)}html.dark .pt-catalogue{--pt-line: rgba(255, 255, 255, 0.14);--pt-line-soft: rgba(255, 255, 255, 0.08);--pt-header-bg: rgba(20, 20, 20, 0.85);--pt-4xx: rgb(217, 152, 41);--pt-5xx: rgb(217, 84, 84);--pt-accent: rgb(71, 198, 237)}.pt-controls{display:flex;gap:8px;margin:1rem 0 0.75rem;flex-wrap:wrap}.pt-search{flex:1 1 20rem;min-width:0}.pt-search,.pt-group{padding:7px 11px;border-radius:8px;border:1px solid var(--pt-line);background:transparent;color:inherit;font-size:0.875rem}.pt-search:focus,.pt-group:focus{outline:none;border-color:var(--pt-accent)}.pt-group{cursor:pointer}.pt-catalogue{width:100%}.pt-scroll{overflow-x:auto;border:1px solid var(--pt-line);border-radius:8px}.pt-table{width:100%;border-collapse:collapse;font-size:0.875rem;margin:0}.pt-table th,.pt-table td{text-align:left;padding:8px 12px;vertical-align:top;border-bottom:1px solid var(--pt-line-soft)}.pt-table tbody tr:last-child td{border-bottom:none}.pt-table th{position:sticky;top:0;z-index:1;font-weight:500;white-space:nowrap;background:var(--pt-header-bg)}.pt-sortable{cursor:pointer;user-select:none}.pt-arrow{display:inline-block;width:1em;opacity:0.7}.pt-table code{white-space:nowrap;font-size:0.8125rem}.pt-table th:nth-child(1),.pt-table th:nth-child(2),.pt-table th:nth-child(3){width:1%;white-space:nowrap}.pt-4xx{color:var(--pt-4xx)}.pt-5xx{color:var(--pt-5xx)}.pt-meta{opacity:0.7}.pt-target td{background:color-mix(in srgb, var(--pt-accent) 14%, transparent)}.pt-target td:first-child{box-shadow:inset 2px 0 0 var(--pt-accent)}.pt-count,.pt-empty{font-size:0.8125rem;opacity:0.65;margin-top:0.6rem}.pt-row{scroll-margin-top:96px}:root{--docs-stable-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%203a6%206%200%200%200-6%208l-6%206a2.8%202.8%200%200%200%204%204l6-6a6%206%200%200%200%208-6l-4%203-5-5%203-4Z%22%2F%3E%3C%2Fsvg%3E\");--docs-beta-icon: url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203h6m-5%200v6l-5.5%209.4A1.7%201.7%200%200%200%206%2021h12a1.7%201.7%200%200%200%201.5-2.6L14%209V3M8%2014h8%22%2F%3E%3C%2Fsvg%3E\")}[data-component-part=\"version-select-trigger\"],[data-component-part=\"version-select-item\"]:nth-child(1){--docs-version-icon: var(--docs-stable-icon)}html:is([data-current-path=\"/beta\"],[data-current-path^=\"/beta/\"]) [data-component-part=\"version-select-trigger\"],[data-component-part=\"version-select-item\"]:nth-child(2){--docs-version-icon: var(--docs-beta-icon)}[data-component-part=\"version-select-trigger\"]::before,[data-component-part=\"version-select-item\"]::before{content:\"\";display:block;flex:0 0 1rem;width:1rem;height:1rem;background-color:currentColor;mask:var(--docs-version-icon) center / contain no-repeat}html[data-current-path=\"/beta/changelog\"] #content-area{--content-width: 44rem}"}],"page":{"pagePath":"beta/sso","slug":"/beta/sso","pageMetadata":{"title":"Single sign-on (SSO)","description":"Connect your identity provider so members sign in to your organization with their company account.","href":"/beta/sso"},"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: \"Connect your identity provider so members sign in to your organization with their company account.\"\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`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Frame,Heading,OptimizedImage,Step,Steps,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Beta is a preview.`}),` The Beta (2.0) platform does not have all the features\nof `,_jsx(_components.a,{href:`/spectrum-ts/introduction`,children:`Stable`}),` yet. For example, iMessage on Beta\nsupports only text and images, so tapbacks, polls, message effects, and voice\nnotes are `,_jsx(_components.a,{href:`/spectrum-ts/providers/imessage/messaging-features`,children:`only on Stable`}),`\nfor now. Use Stable for production agents, and confirm that Beta supports the\nfeatures you need before you buy a plan.`]})}),`\n`,_jsx(_components.p,{children:`Single sign-on lets members sign in to your Photon organization through your\ncompany’s identity provider (IdP), such as Okta, Microsoft Entra ID, or Google\nWorkspace. Photon supports SAML and OpenID Connect providers. You verify your\ndomain and connect your identity provider in a secure setup portal opened from\nthe Dashboard.`}),`\n`,_jsxs(_components.p,{children:[`SSO costs `,_jsx(_components.strong,{children:`$220 per organization per month`}),` and is billed separately from\nproject plans. See `,_jsx(_components.a,{href:`/beta/billing#optional-resources-and-services`,children:`Billing`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`before-you-start`,children:`Before you start`}),`\n`,_jsx(_components.p,{children:`Only an organization Owner or Admin can set up SSO. During setup, you’ll add a\nDNS record to verify your company’s email domain and configure an application\nin your identity provider. Make sure you have access to both, or have your IT\nadministrator available to help.`}),`\n`,_jsxs(_components.p,{children:[`You’ll be prompted to confirm and purchase the SSO subscription the first time\nyou open the setup portal. The charge is prorated for the remainder of your\ncurrent billing period and billed to the organization’s\n`,_jsx(_components.a,{href:`/beta/invoices-and-payments#payment-method`,children:`payment method`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`SSO becomes required as soon as your identity provider is connected. From then\non, every member, including you, must sign in through your identity provider.`})}),`\n`,_jsx(Heading,{level:`3`,id:`what-happens-to-existing-members`,children:`What happens to existing members`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Each member signs in with the company account that uses `,_jsx(_components.strong,{children:`the same email\naddress`}),` as their Photon account.`]}),`\n`,_jsx(_components.li,{children:`Only members with an email address on a verified domain can sign in once SSO\nis enabled.`}),`\n`,_jsx(_components.li,{children:`Both the organization Owner and the administrator setting up SSO must use an\nemail address on a verified domain. If the Owner uses a personal email, invite\ntheir company email address to the organization and transfer ownership to that\naccount before you start.`}),`\n`,_jsx(_components.li,{children:`Anyone with an email address on your verified domains may be required to use\nSSO whenever they sign in to Photon, not only for this organization.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`prepare-your-team`,children:`Prepare your team`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Let members know when the change will happen and that they’ll sign in through\nyour identity provider from then on.`}),`\n`,_jsx(_components.li,{children:`Assign every member to the Photon app in your identity provider before you\nconnect it.`}),`\n`,_jsx(_components.li,{children:`Choose a quiet time for the rollout, and have someone from IT available while\nmembers switch over.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`set-up-sso`,children:`Set up SSO`}),`\n`,_jsxs(_components.p,{children:[`In the Dashboard, go to `,_jsx(_components.strong,{children:`Security`}),` > `,_jsx(_components.a,{href:`https://app.beta.photon.codes/organization/sso`,children:`Single sign-on`}),`. The page guides you\nthrough each step and saves your progress, so you can close it and return at any\ntime.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Verify your domain`,children:[_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Verify domain`}),`. The first time you open the setup portal, confirm the\nSSO subscription purchase.`]}),_jsx(_components.p,{children:`In the setup portal:`}),_jsx(Frame,{caption:`The setup portal asks for the domain your members' email addresses use.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=8094d6cf49938c184fcb924158de8348`,alt:`Setup portal page titled Verify your organization domain, with an Enter your domain field and a Continue button.`,\"data-og-width\":`1646`,width:`1646`,\"data-og-height\":`810`,height:`810`,\"data-path\":`beta/images/sso/verify_domain.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?w=280\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=e3594cb0224f1d6339b131088a46937d 280w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?w=560\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=9cf43df5ced62c178e5dd248e45cc07e 560w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?w=840\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=a0c6cb1592957ce19d3fb6d9f72b7673 840w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=d8edaf97c490f5743c13f8910cfca7f5 1100w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=69416302e7668c5624263dea897ca78b 1650w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/verify_domain.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=a2272f405d3f85ed9e0f2f0344a95a0b 2500w`})}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Enter your company’s email domain, such as `,_jsx(_components.code,{children:`example.com`}),`.`]}),`\n`,_jsx(_components.li,{children:`Copy the TXT record shown in the portal.`}),`\n`,_jsx(_components.li,{children:`Add it to your domain’s DNS settings while keeping your existing TXT\nrecords.`}),`\n`]}),_jsxs(_components.p,{children:[`Back on the `,_jsx(_components.strong,{children:`Single sign-on`}),` page, the domain shows `,_jsx(_components.strong,{children:`Waiting for DNS`}),` until\nthe record is detected. DNS changes usually take a few minutes, but can take up\nto 48 hours. Select `,_jsx(_components.strong,{children:`Check again`}),` to refresh the status.`]}),_jsx(_components.p,{children:`All verified domains for an organization must use the same identity provider.`})]}),_jsxs(Step,{title:`Review members`,children:[_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Configure SSO`}),`. Before the setup portal opens, Photon checks your\norganization’s members and shows anyone who won’t be able to sign in once SSO\nis required:`]}),_jsx(Frame,{caption:`Before the setup portal opens, Photon checks the Owner and your account, and lists members without a company email.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=c3ca4fe16bc70cf30a07f96343be15d3`,alt:`SSO will become required dialog, with a Who needs a company email section showing the Owner with a Company email badge, a Members without a company email section listing one member with a Remove action, and a Continue to SSO setup button.`,\"data-og-width\":`2282`,width:`2282`,\"data-og-height\":`1522`,height:`1522`,\"data-path\":`beta/images/sso/check_member.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?w=280\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=4e65c533b4de9d3d2e8bf2f9d3631454 280w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?w=560\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=73e602a131ad79e88a298199901c8e92 560w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?w=840\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=08205de28d5dc82cc265e736dd516412 840w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=8e2146d58ba591d3f69049884090008f 1100w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=ea1ed201f47662209418241aa711e027 1650w, https://mintcdn.com/photon-6d78d87b/rVkVsN7z7mproaxu/beta/images/sso/check_member.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=rVkVsN7z7mproaxu\u0026q=85\u0026s=80f5cb1990b0f63779a749dd6d317322 2500w`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The Owner and your own account.`}),` Both must use an email address on a\nverified domain before you can continue.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To change the Owner, invite the Owner’s company email from `,_jsx(_components.strong,{children:`Members`}),`,\nthen transfer ownership to that account in `,_jsx(_components.strong,{children:`Settings`}),` after the\ninvitation is accepted. Only the current Owner can transfer ownership.`]}),`\n`,_jsx(_components.li,{children:`To continue with a different account, sign in with a company account\nthat has the Owner or Admin role, or ask another administrator to finish\nsetup.`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Members without a company email.`}),` Members whose email address isn’t on\na verified domain won’t be able to sign in once SSO is required. You can\nremove them now or leave them in the organization until they switch to a\ncompany account.`]}),`\n`]}),_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Continue to SSO setup`}),` when you’re ready.`]})]}),_jsxs(Step,{title:`Connect your identity provider`,children:[_jsx(_components.p,{children:`Follow the instructions in the setup portal to connect your identity\nprovider, then test the connection in the portal.`}),_jsx(_components.p,{children:`For provider-specific setup instructions, see:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/okta-saml`,children:`Okta SAML`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/entra-id-saml`,children:`Entra ID SAML (formerly Azure AD)`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/google-saml`,children:`Google SAML`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/onelogin-saml`,children:`OneLogin SAML`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/jumpcloud-saml`,children:`JumpCloud SAML`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/duo-saml`,children:`Duo SAML`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`https://workos.com/docs/integrations/cloudflare-saml`,children:`Cloudflare Access SAML`})}),`\n`]}),_jsx(_components.p,{children:`As soon as the connection becomes active, SSO is required for the\norganization.`})]}),_jsx(Step,{title:`Verify sign-in`,children:_jsxs(_components.p,{children:[`Back on the `,_jsx(_components.strong,{children:`Single sign-on`}),` page, select `,_jsx(_components.strong,{children:`Sign in with SSO`}),` and sign in\nwith your company account to confirm the connection works end to end. Once\nverified, the connection status shows `,_jsx(_components.strong,{children:`Active`}),`.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`after-setup`,children:`After setup`}),`\n`,_jsx(Heading,{level:`3`,id:`share-the-company-sign-in-link`,children:`Share the company sign-in link`}),`\n`,_jsxs(_components.p,{children:[`Copy the `,_jsx(_components.strong,{children:`Company sign-in link`}),` from the `,_jsx(_components.strong,{children:`Single sign-on`}),` page and share it\nwith your team. It sends members directly to your identity provider to sign in.`]}),`\n`,_jsx(Heading,{level:`3`,id:`let-new-people-join-automatically`,children:`Let new people join automatically`}),`\n`,_jsxs(_components.p,{children:[`Under `,_jsx(_components.strong,{children:`Joining`}),`, select `,_jsx(_components.strong,{children:`Let new users join as Viewer`}),` to turn on `,_jsx(_components.strong,{children:`Automatic\njoining`}),`. Anyone who signs in through your identity provider can then join the\norganization automatically as a `,_jsx(_components.strong,{children:`Viewer`}),`, and you can update their role\nafterward.`]}),`\n`,_jsx(_components.p,{children:`Invited users still join with the role assigned in their invitation. Members who\nwere previously removed from the organization cannot rejoin automatically and\nalways require a new invitation.`}),`\n`,_jsx(Heading,{level:`3`,id:`remove-someone’s-access`,children:`Remove someone’s access`}),`\n`,_jsxs(_components.p,{children:[`Deactivating a user in your identity provider prevents them from signing in\nagain, but any connected apps, MCP clients, or personal keys they already set up\nwill keep working. To revoke their access immediately, remove them from\n`,_jsx(_components.strong,{children:`Members`}),` as well.`]}),`\n`,_jsx(Heading,{level:`2`,id:`manage-the-connection`,children:`Manage the connection`}),`\n`,_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Manage SSO`}),` to open the setup portal when you need to update your\nconfiguration—for example, to rotate a SAML certificate or an OpenID Connect\nclient secret, or to adjust attribute mapping. After making changes, select\n`,_jsx(_components.strong,{children:`Test sign-in`}),` to verify the connection. Modifying the connection signs\nexisting members out of the organization until they sign in again.`]}),`\n`,_jsxs(_components.p,{children:[`Select `,_jsx(_components.strong,{children:`Manage domains`}),` to add or verify additional domains.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`To stop using SSO, `,_jsx(_components.a,{href:`#turn-off-sso`,children:`turn it off`}),` in the Dashboard. Don’t delete\nthe connection in the setup portal—doing so locks everyone out of the\norganization, including you.`]})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Rotate your SAML certificate or OpenID Connect client secret before it\nexpires to avoid sign-in disruptions.`})}),`\n`,_jsx(Heading,{level:`2`,id:`turn-off-sso`,children:`Turn off SSO`}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Danger zone`}),`, select `,_jsx(_components.strong,{children:`Turn off`}),`. Choose your domain and subscription\noptions, type `,_jsx(_components.code,{children:`turn off sso`}),` to confirm, and submit:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The connection to your identity provider is deleted, and members sign in\nwithout SSO.`}),`\n`,_jsx(_components.li,{children:`Automatic joining stops, so new members need an invitation to join.`}),`\n`,_jsx(_components.li,{children:`Verified domains are unbound by default unless you uncheck them. Unbound\ndomains must be verified again before you can use them with SSO in the future.`}),`\n`,_jsxs(_components.li,{children:[`You choose what happens to the SSO subscription:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`End the SSO subscription.`}),` The subscription ends immediately, and any\nunused days are credited back to the organization.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Keep the subscription.`}),` The subscription continues to renew so you can\nset up SSO again without repurchasing it. You can also end it later under\n`,_jsx(_components.strong,{children:`Subscription`}),` on the `,_jsx(_components.strong,{children:`Single sign-on`}),` page.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`If a step fails while turning off SSO, select `,_jsx(_components.strong,{children:`Try again`}),` to resume from where\nit left off.`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`The domain stays on Waiting for DNS`,id:`the-domain-stays-on-waiting-for-dns`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Add the TXT record to the exact domain you entered, not to a subdomain\nsuch as `,_jsx(_components.code,{children:`www`}),`. Use a DNS lookup tool to confirm the record is published.`]}),`\n`,_jsx(_components.li,{children:`Copy the record value exactly as shown in the setup portal.`}),`\n`,_jsxs(_components.li,{children:[`Allow up to 48 hours for DNS changes to propagate, then select `,_jsx(_components.strong,{children:`Check\nagain`}),`.`]}),`\n`]})}),_jsx(Accordion,{title:`Your company sign-in worked, but this organization hasn't given you access`,id:`your-company-sign-in-worked-but-this-organization-hasnt-given-you-access`,children:_jsx(_components.p,{children:`Ask an Owner or Admin to send you an invitation or turn on automatic\njoining.`})}),_jsx(Accordion,{title:`You're signed in to Photon as someone else`,id:`you-re-signed-in-to-photon-as-someone-else`,children:_jsx(_components.p,{children:`Sign out of the Dashboard, then open the company sign-in link again.`})}),_jsx(Accordion,{title:`Nobody can sign in to this organization`,id:`nobody-can-sign-in-to-this-organization`,children:_jsxs(_components.p,{children:[`Contact `,_jsx(_components.a,{href:`mailto:[email protected]`,children:`[email protected]`}),` from the Owner’s\nemail address. We’ll verify ownership and help you restore access.`]})})]})]})}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":{"config":{},"pageMetadata":{"title":"Single sign-on (SSO)","description":"Connect your identity provider so members sign in to your organization with their company account.","href":"/beta/sso"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Before you start","slug":"before-you-start","depth":2,"children":[{"title":"What happens to existing members","slug":"what-happens-to-existing-members","depth":3,"children":[]},{"title":"Prepare your team","slug":"prepare-your-team","depth":3,"children":[]}]},{"title":"Set up SSO","slug":"set-up-sso","depth":2,"children":[]},{"title":"After setup","slug":"after-setup","depth":2,"children":[{"title":"Share the company sign-in link","slug":"share-the-company-sign-in-link","depth":3,"children":[]},{"title":"Let new people join automatically","slug":"let-new-people-join-automatically","depth":3,"children":[]},{"title":"Remove someone’s access","slug":"remove-someone’s-access","depth":3,"children":[]}]},{"title":"Manage the connection","slug":"manage-the-connection","depth":2,"children":[]},{"title":"Turn off SSO","slug":"turn-off-sso","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/photon-6d78d87b/8a01e78c178e74c3/dashboard-links.js"],"subdomain":"photon-6d78d87b","siteName":"Photon","title":"Single sign-on (SSO) - Photon","navMaps":{"firstHrefInVersion":{"Stable":{"href":"/spectrum-ts/introduction","matchLevel":4},"Beta":{"href":"/beta/sso","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T08:20:50.445Z","originalFileLocation":"beta/sso.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=\"system\"}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=\"Connect your identity provider so members sign in to your organization with their company account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Photon\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_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=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Single sign-on (SSO) - Photon\">\u003cmeta data-mint-head property=\"og:description\" content=\"Connect your identity provider so members sign in to your organization with their company account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Photon\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://photon.codes/docs/beta/sso\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://photon.codes/docs/images/social-cover.png\">\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=\"Single sign-on (SSO) - Photon\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Connect your identity provider so members sign in to your organization with their company account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://photon.codes/docs/images/social-cover.png\">\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=\"/docs/mintlify-assets/_mintlify/favicons/photon-6d78d87b/HRqZH79kgfZw4ONr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Photon\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#47c6ed\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"Photon dashboard on a blue background\">\u003cmeta data-mint-head name=\"twitter:image:alt\" content=\"Photon dashboard on a blue background\">\u003clink data-mint-head rel=\"canonical\" href=\"https://photon.codes/docs/beta/sso\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/beta/sso.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://photon.codes/#organization\",\"name\":\"Photon\",\"url\":\"https://photon.codes\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/photon-6d78d87b/hMh2hcolREhyGomA/logo/light.svg?fit=max\u0026auto=format\u0026n=hMh2hcolREhyGomA\u0026q=85\u0026s=11512a078b26743f3341822f7095a71d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://photon.codes/docs#website\",\"name\":\"Photon\",\"url\":\"https://photon.codes/docs\",\"publisher\":{\"@id\":\"https://photon.codes/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://photon.codes/docs/beta/sso#webpage\",\"url\":\"https://photon.codes/docs/beta/sso\",\"name\":\"Single sign-on (SSO)\",\"description\":\"Connect your identity provider so members sign in to your organization with their company account.\",\"dateModified\":\"2026-11-10T08:20:50.445Z\",\"isPartOf\":{\"@id\":\"https://photon.codes/docs#website\"},\"breadcrumb\":{\"@id\":\"https://photon.codes/docs/beta/sso#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://photon.codes/docs/beta/sso#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Security\",\"item\":\"https://photon.codes/docs/beta/security/hardening\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Single sign-on (SSO)\",\"item\":\"https://photon.codes/docs/beta/sso\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://photon.codes/docs/beta/sso#article\",\"headline\":\"Single sign-on (SSO)\",\"name\":\"Single sign-on (SSO)\",\"description\":\"Connect your identity provider so members sign in to your organization with their company account.\",\"url\":\"https://photon.codes/docs/beta/sso\",\"mainEntityOfPage\":{\"@id\":\"https://photon.codes/docs/beta/sso#webpage\"},\"image\":\"https://photon.codes/docs/images/social-cover.png\",\"dateModified\":\"2026-11-10T08:20:50.445Z\",\"publisher\":{\"@id\":\"https://photon.codes/#organization\"},\"isPartOf\":{\"@id\":\"https://photon.codes/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Photon\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Photon\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/beta/sso.md","siteName":"Photon","nav":{"global":null,"versions":[{"version":"Stable","default":true,"pages":[{"title":"Stable","href":"/spectrum-ts/introduction"}]},{"version":"Beta","tag":"Preview","tabs":[{"tab":"Overview","pages":[{"title":"Photon","href":"/beta/photon"},{"group":"Get started","pages":[{"title":"Get started","sidebarTitle":"Introduction","href":"/beta/index"},{"title":"Set up your project","href":"/beta/get-started/project"},{"title":"Build an iMessage agent","sidebarTitle":"iMessage","href":"/beta/get-started/imessage"},{"title":"Build an email agent","sidebarTitle":"Email","href":"/beta/get-started/email"},{"title":"Build a voice agent","sidebarTitle":"Voice","href":"/beta/get-started/voice"}]},{"group":"Message Delivery","pages":[{"title":"Webhook","href":"/beta/message-delivery/webhook"},{"title":"WebSocket","href":"/beta/message-delivery/websocket"}]},{"group":"Integrations","pages":[{"title":"Chat SDK","href":"/beta/integrations/chat-sdk"}]},{"group":"Apps","pages":[{"title":"Build a Photon App","href":"/beta/apps/overview"},{"title":"Register an App","href":"/beta/apps/register"},{"title":"Install an App","href":"/beta/apps/install"},{"title":"Receive events and call APIs","href":"/beta/apps/webhooks"},{"title":"Permissions and lifecycle","href":"/beta/apps/permissions"},{"title":"Run a local App","href":"/beta/apps/quickstart"}]},{"group":"AI tools","pages":[{"title":"Photon MCP server","sidebarTitle":"MCP server","href":"/beta/ai-tools/mcp"}]},{"group":"Plans and billing","pages":[{"title":"Plans","href":"/beta/plans-and-billing"},{"title":"Billing","href":"/beta/billing"},{"title":"Invoices and payments","href":"/beta/invoices-and-payments"}]},{"group":"Security","pages":[{"title":"Harden your organization","description":"Security defaults and recommended settings for organization Owners and Admins, and where to change each one.","href":"/beta/security/hardening"},{"title":"Single sign-on (SSO)","href":"/beta/sso"},{"title":"Photon support access","description":"How Photon support can sign in as an account in your organization to troubleshoot a problem, and what that session can do.","href":"/beta/security/support-access"}]}]},{"tab":"Messaging","pages":[{"title":"Messaging","href":"/beta/messaging"}]},{"tab":"Cookbooks","pages":[{"title":"Cookbooks","href":"/beta/cookbooks"}]},{"tab":"API Client","pages":[{"title":"API Client","href":"/beta/api-client"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/beta/api-reference"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/beta/changelog"}]}],"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://photon.codes/blog"},{"anchor":"Community","icon":{"style":"brands","name":"discord","library":"fontawesome"},"href":"https://discord.gg/4mr54mqQN"},{"anchor":"Status","icon":{"name":"monitor-waveform","library":"lucide"},"href":"https://status.photon.codes"}]}}]},"basePath":"","title":"Single sign-on (SSO) - Photon","buildId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","deploymentId":"dpl_2AK98Hxhwu4fUXpx9atbv41cC328","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Buk2KjK6.js","DynamicMarkdown-DYYZTGpa.js","zoom-image-lightbox-T84NdC3b.js","lightbox-handle-r17bVUz3.js"]}