What is single sign-on, and how do SAML and OpenID Connect work?
What single sign-on does for a business
Without single sign-on, every app keeps its own list of users and passwords. Staff juggle a dozen logins, reuse passwords, and ask for resets. When someone leaves, somebody has to remember to remove them from every system, and usually somebody forgets one.
With single sign-on, the company keeps one list of people in one identity provider. Each app trusts that provider. You turn on two-step verification in one place, and you remove a leaver’s access in one place too. That central control is the main reason buyers ask for it.
The three parties in every SSO login
Every single sign-on login involves the same three parties. Keeping their roles clear makes the rest of the topic much easier to follow.
- The user is the person who wants to open an app.
- The identity provider is the service that holds the user’s account and checks the password or second factor. Examples include Google Workspace, Okta and Keycloak.
- The service provider is the app the user wants to open, such as your CRM, booking system or internal dashboard. It does not check the password itself. It trusts the identity provider’s answer.
SAML and OpenID Connect in plain words
SAML is an older standard built on XML messages. It is common in large companies and in enterprise software that has been around for a long time. The app redirects the browser to the identity provider, the provider signs a statement saying who the user is, and the browser returns it to the app.
OpenID Connect is newer and uses JSON-based tokens. It is built on the OAuth framework and is common in modern web apps, mobile apps and APIs. Most new builds offer it, and many offer SAML as well, because some corporate buyers still require it. Ask a builder which protocols the app supports and which ones your customers need.
Single sign-on does not create or remove accounts by itself
A common surprise is that single sign-on handles the login but not the lifecycle of the account. Someone still has to create the user in the app the first time, give them the right role, and remove them when they leave. Without that step, a former employee can be blocked from logging in but still appear in the app.
The usual answer is automatic provisioning, often done with the SCIM standard. The identity provider creates, updates and disables app accounts as people join, change roles or leave. Check whether a builder includes provisioning in the first release or treats it as a later phase, and get the answer in writing.
What to check before you build or buy
Single sign-on touches security, so ask for specifics rather than a general yes. Check the protocols the app supports, the identity providers it has been tested with, and how it handles roles and groups. Ask who can change the configuration, and how the team tests a login before it reaches real users.
Plan for the things that break quietly. Certificates used to sign SAML messages expire and must be renewed on time. Keep a named administrator with a backup way in, so one locked-out account does not stop the whole company. Follow each identity provider’s current setup guide, because the steps change over time.
How Hundred Seas helps
Hundred Seas is a product studio in Taipei that builds web apps, internal tools and AI CRM systems, and these are the systems that most often need to sit behind a company login. We work in English, Traditional Chinese and Simplified Chinese, so the login and admin screens can be written for the people who will use them.
We start with a scope step of about one week at a fixed price, which ends in a written plan and a firm quote. The build then runs in weekly releases of working software, and a monthly run plan keeps the sign-in setup and the software up to date after launch.
Questions
- Is single sign-on the same as multi-factor authentication?
- No. Single sign-on is about logging in once and reusing that login across apps. Multi-factor authentication asks for a second proof, such as a code from a phone, during the login. The two work well together, and many companies turn on multi-factor authentication once at the identity provider so that every connected app inherits it.
- Which is better, SAML or OpenID Connect?
- Neither is better in general. SAML is common with large enterprise customers and older software. OpenID Connect suits newer web and mobile apps. Choose based on what your customers’ identity providers support, and ask your builder to support both if you sell to a range of companies.
- Can a small business use single sign-on?
- Yes. Many small teams already have a Google Workspace or similar account, and that account can often sign them into the tools they use. The benefit grows with the number of apps and people, so start by connecting the apps your team uses every day.
- What happens to a user’s access when they leave the company?
- It depends on the setup. If the app only trusts the identity provider and the provider disables the account, the person cannot sign in. Check whether the app also removes or deactivates its own copy of the user, so old records do not remain active or appear in lists.