Skip to main content

Overview

You are setting up Within for your organisation and need to configure SSO so your users can log in with their company credentials. Within offers a self-serve SSO setup — a fully guided, in-product wizard that walks you through the configuration end to end. You may be using Microsoft Entra ID (Azure AD), Okta, Google Workspace, PingFederate, or any other SAML 2.0 / OIDC provider. SSO is not enabled by default. It must be configured once in your identity provider and once on the Within side. With self-serve setup, you complete both sides yourself through a guided wizard you open from a setup link we email you — no manual back-and-forth with our support team is required. Within’s authentication runs on WorkOS, so the wizard opens at setup.within.ai.

Prerequisites

Elect one individual to run the SSO setup for your organisation. Before that person begins, make sure they have:
  1. Admin access to your organisation’s identity provider. Within’s setup flow supports any IdP that speaks SAML 2.0. Explicitly tested and guided paths:
    • Microsoft Entra ID (Azure AD)
    • Okta
    • Google Workspace
    • PingFederate (via the Generic SAML 2.0 path)
    • Any other SAML 2.0 IdP (via the Generic SAML 2.0 path)
    Custom OIDC paths are also supported.
  2. The list of email domains they want to enable SSO for (for example, company.com).
Share that person’s name and email with your Within contact. We’ll send them the setup email in Step 1.
If your organisation needs an intake ticket before connecting a vendor, these are Within’s standard details:The application login URLs are where your users sign in. They are not the SAML ACS / Reply URL. Take the ACS / Reply URL and Entity ID from the setup wizard in Step 2.The intake process is usually the longest part of SSO setup, so start it early.

Step 1: Check your inbox for the SSO setup email

Search your inbox for an email with the subject “Set up SSO for [your domain] on Within”, sent from Within (no-reply@within.ai). The email contains a “Set up SSO for [your domain]” button that opens the admin portal and connects your identity provider. The button works for 7 days — if you don’t finish in one sitting, just reopen the email and click it again to pick up exactly where you left off. No email? Check spam or quarantine, and ask your IT team to allowlist no-reply@within.ai. If it still hasn’t arrived, or the link has expired, ask your Within contact to send a new one.
The automated email from Within (no-reply@within.ai) asking you to set up Single Sign-On for your domain, with a Set up SSO button that opens the admin portal and works for 7 days.
Clicking the “Set up SSO for [your domain]” button opens our SSO setup experience — a fully guided flow that walks you through each step one by one:
  1. Select your identity provider from the list (Okta SAML, Entra ID / Azure AD SAML, Google SAML, and many more), or choose Custom SAML or Custom OIDC for any provider not listed.
  2. Follow the provider-specific, in-wizard instructions to create the integration in your IdP. For Okta SAML, for example: create a SAML integration, submit application feedback, set the IdP metadata, define custom attributes, configure SAML attributes, assign groups, configure an IT contact email, and test.
  3. Complete each step in sequence. At the end, your SSO connection is configured and your users can log in to Within with your organisation’s SSO.
The 'Select your identity provider' screen in the Within SSO setup wizard, with a search box and providers such as Okta SAML, Entra ID (Azure AD) SAML, Google SAML, ADP OpenID Connect and Auth0 SAML, and Custom SAML and Custom OIDC options at the bottom.
Within supports all the identity providers listed above. The wizard adapts its instructions to the provider you select.
Using Microsoft Entra ID? At the attribute-mapping step, set the NameID to user.mail, not user.userprincipalname. If Entra sends the user principal name (UPN) and it differs from the user’s email address, sign-in fails with a mismatch. This is common for hybrid or synced accounts.
The Okta SAML path of the Within SSO setup wizard: eight guided steps down the left, from creating a SAML integration to testing single sign-on, with step 1 showing where to find Applications in the Okta admin console.

Step 3: Test your SSO connection

  1. Go to app.within.ai and enter your email.
    • This is a validation test — even if the email belongs to someone who isn’t yet a Within user, the redirection will still work.
  2. Within redirects you to your organisation’s SSO and logs you in.
Once the test passes, the connection is live and all users in that domain sign in via SSO.
The Within sign-in screen at app.within.ai, where you enter your email and select Continue to be redirected to your organization's SSO.

When to contact support

Contact support if:
  • You don’t receive the SSO setup email, or the setup link has expired.
  • Your identity provider isn’t listed and you’re unsure whether to use the Generic SAML 2.0 or Custom OIDC path.
  • The connection test fails or your users can’t log in after setup.
When you contact support, include: your organisation name, the domain being configured, your IdP type, and a screenshot of the error, if any.

Frequently asked questions

They enter their work email at app.within.ai and are sent to your identity provider to sign in. If your organisation already signed in to Within with SSO, nothing changes for them once the connection is re-established. MFA and session policies remain governed by your IdP.
The guided setup typically takes 15–20 minutes for someone with the right access. The main lead time is usually your internal intake/approval process.
No. Users on your domain start signing in through SSO once the test in Step 3 passes. If you’re reconnecting an existing SSO connection, we coordinate the cutover with your IT contact: users with active sessions are unaffected, and new logins flow through the new connection once it’s validated.
Yes, if your organisation used SSO with Within before the rebrand. Klarity is now Within, and the existing app in your identity provider keeps its old name until you reconnect. It’s a good moment to rename the tile to Within so your users find it.
SCIM, yes: people get access, change role and lose access based on your directory groups. See the SCIM user provisioning guide. Just-in-time provisioning isn’t available yet.
Your identity provider, exactly as today. Within adds no additional MFA layer on top of your SSO.
No. Workspaces, processes, documents, roles, and permissions are untouched. Only the authentication connection changes.
Reach out to your Within customer success manager or support@within.ai with your organization name, the domain being configured, your IdP type, and a screenshot of the error — we can re-issue the setup link or restart the configuration at any time.
Need help? Use the in-app chat — click the chat bubble in the bottom-right corner of Within (staffed 24×5) — or email support@within.ai.