Setting up Single Sign-On (SSO) for your branded platform lets your clients log in to your white-label SaaS using their existing credentials from another service, like Google or Microsoft. This guide will walk you through the steps to implement SSO, making it easier and more secure for your clients to access your platform.
What is Single Sign-On (SSO)?
Imagine you have many keys for many doors. SSO is like having one master key that opens all the doors you need. In the digital world, it means your clients can use one set of login details (like their company email and password) to access your branded platform and other services. They don't need to create a new username and password just for your system.
This makes things much easier for your clients. They have fewer passwords to remember. It also makes things more secure. They aren't tempted to reuse simple passwords across different sites. For you, it means happier clients and a more professional feel for your white-label service.
SSO works by trusting an "identity provider" (IdP). This IdP is the service that holds your client's login information. When a client tries to log into your platform, your platform talks to the IdP. The IdP checks if the client is who they say they are. If yes, the IdP tells your platform, and the client is let in without needing to enter credentials directly into your system.
Choosing Your SSO Protocol
There are different ways for your platform and the identity provider to "talk" to each other. These are called protocols. The most common ones you'll encounter are SAML and OAuth/OIDC. You'll need to choose the right one based on what your white-label platform supports and what your clients' identity providers use.
-
SAML (Security Assertion Markup Language): Think of SAML as a formal letter of introduction. It's often used for business-to-business (B2B) setups. Many corporate identity providers, like Active Directory Federation Services (ADFS) or Okta, use SAML. It's a mature and secure standard. When you set up SAML, you'll exchange "metadata" files. These files contain information about your platform and the identity provider, telling each how to communicate securely.
-
OAuth (Open Authorization) / OIDC (OpenID Connect): OAuth is more like giving permission to access something, rather than proving who you are. OIDC builds on OAuth to add identity information. It's very common for consumer-facing apps and mobile apps. Services like Google, Facebook, and Microsoft use OIDC. It's often simpler to set up for developers and provides a smooth user experience.
Your white-label platform will usually support one or both of these. Check your platform's documentation to see which protocols are available. If your clients primarily use corporate systems, SAML might be the way to go. If they use common internet services, OIDC is often preferred.
The Step-by-Step SSO Implementation Process
Implementing SSO involves a few key steps. It's like setting up a secure handshake between your platform and your client's identity provider.
-
Identify Client Needs: First, talk to your clients. What identity provider do they use? Do they use Google Workspace, Microsoft 365, Okta, or something else? Knowing this will help you choose the right protocol and guide the setup.
-
Configure Your Platform as a Service Provider (SP): Your white-label platform acts as the "Service Provider." It's the service your clients want to access. You'll go into your platform's settings (often in an "SSO" or "Security" section) to start the configuration.
- You'll typically generate a Service Provider metadata file or get specific URLs (like an "Assertion Consumer Service URL" and an "Entity ID"). These tell the identity provider where to send the login information back to.
- You might also need to upload a certificate to your platform for secure communication.
-
Configure the Identity Provider (IdP): This is where your client's IT team usually comes in. They will configure their identity provider to recognize your platform.
- They'll use the information you got from step 2 (the SP metadata or URLs) to set up your platform as a trusted application within their IdP.
- They will also need to provide you with their IdP metadata file or specific URLs (like the "SSO URL" and "Issuer URL") and a certificate. This information tells your platform where to send login requests and how to verify the IdP's responses.
-
Map User Attributes: When a client logs in, the IdP sends information about them (like their email address, name, and user ID). You need to tell your platform how to match this information to existing user accounts or create new ones. This is called "attribute mapping." For example, you'd map the IdP's "email" attribute to your platform's "user email" field.
-
Test Thoroughly: This is crucial. Before rolling out SSO to all users, test it with a few pilot users.
- Try logging in from different browsers and devices.
- Test both successful logins and what happens if a user isn't authorized.
- Check that user information (like their name) comes through correctly.
-
Roll Out and Support: Once testing is complete, you can enable SSO for your clients. Provide clear instructions and support resources. Make sure your clients know who to contact if they run into issues.
Common Challenges and Solutions
Setting up SSO can sometimes hit a few bumps. Knowing what to look out for can save you time.
- Metadata Mismatch: This is a common issue. If the metadata files exchanged between your platform and the IdP don't match exactly, SSO won't work. Double-check all URLs, entity IDs, and certificates. Even a small typo can break the connection.
- Certificate Expiration: Security certificates have an expiry date. If a certificate expires on either your side or the IdP's side, SSO will stop working. Keep track of certificate expiry dates and plan to update them proactively.
- Attribute Mapping Errors: If the user attributes aren't mapped correctly, users might log in but not have the right permissions or their profiles might be incomplete. Ensure the names of attributes (e.g., "email" vs. "mail") match perfectly.
- Firewall or Network Issues: Sometimes, network firewalls can block communication between your platform and the IdP. Ensure that the necessary ports and IP addresses are open for communication. This often requires coordination with your client's IT team.
- User Provisioning: Decide how new users are created. Will users be automatically created in your platform the first time they log in via SSO (Just-in-Time provisioning)? Or will you create accounts manually beforehand? Your platform's capabilities and your client's preferences will guide this.
For platforms like a connected agency platform, which offer a full suite of white-label CRM tools including contact management, pipelines, and automations, seamless SSO is vital. It ensures that agencies can provide their clients with easy, secure access to their customized workspaces without friction. a connected agency platform's robust API capabilities (see: /blog/understanding-api-capabilities-of-white-label-platforms) can often be leveraged to help with advanced SSO configurations or custom attribute mapping, allowing for deeper integration with client identity providers.
Benefits of SSO for Your Branded Platform
Implementing SSO isn't just a technical task; it brings significant advantages for both you and your clients.
- Improved User Experience: Clients only need to remember one set of credentials. This reduces login fatigue and makes your branded platform feel more integrated into their existing workflows. A smoother login process encourages more frequent use of your service.
- Enhanced Security: SSO reduces the risk of password-related security breaches. Clients are less likely to use weak passwords or reuse them across multiple services. The identity provider often enforces strong security policies, like multi-factor authentication (MFA), which then extends to your platform.
- Reduced Support Costs: Fewer forgotten passwords mean fewer support tickets related to login issues. Your team can focus on more complex client needs rather than password resets.
- Professional Image: Offering SSO makes your white-label platform appear more sophisticated and enterprise-ready. It shows you understand and cater to the security and convenience needs of businesses.
- Streamlined User Management: For your clients, SSO often centralizes user management. When an employee leaves their company, their access to all SSO-connected services, including your platform, can be revoked instantly by their IT team.
By carefully planning and executing your SSO implementation, you'll provide a superior experience for your clients and strengthen your white-label offering.
To move forward, identify the specific SSO options supported by your white-label platform and begin discussions with your clients about their preferred identity providers and technical requirements.
Common questions
Answers at a glance
What is Single Sign-On (SSO)?
SSO allows users to log in to multiple applications or websites using a single set of credentials. For a branded platform, this means clients can use their existing company login to access your service without needing a separate username and password.
What are SAML and OAuth/OIDC?
SAML and OAuth/OIDC are different technical protocols (ways of communicating) used to implement SSO. SAML is often used for business-to-business (B2B) integrations, while OAuth/OIDC is common for consumer apps and services like Google or Microsoft logins.
Why should I implement SSO for my branded platform?
Implementing SSO improves client convenience by reducing the number of passwords they need to remember, enhances security by leveraging their existing identity provider's security measures, and projects a more professional image for your white-label service.
What information do I need from my client to set up SSO?
You'll typically need to know which identity provider (IdP) your client uses (e.g., Okta, Google Workspace, Microsoft 365). Their IT team will then provide you with IdP metadata or specific URLs and certificates required for your platform's SSO configuration.
What is attribute mapping in SSO?
Attribute mapping is the process of telling your platform how to interpret the user information (like email, name, user ID) sent by the identity provider during an SSO login. This ensures user accounts are correctly identified or created in your system.
Put the system to work
Run the whole client journey in one place.
CRM, phone, messaging, automation, funnels, and AI—connected on one contact record and ready for your brand.
See Chirply pricing
Chirply