YouTube Icon

How does single sign-on work?

How does single sign-on work?

What is single sign-on?

Single sign-on (SSO) is system that enables users to securely authenticate with multiple applications and websites by logging in only once—with just one set of credentials (username and password). With SSO, the application or website that the user is trying to access relies on a trusted third party to verify that users are who they say they are.

How does authentication work without SSO?

Without single sign-on, each website maintains its own database of users and their credentials. This is what happens when you try to log in to an app or website:

  • The website first checks to see whether you’ve already been authenticated. If you have, it gives you access to the site.
  • If you haven’t, it asks you to log in and it checks your username and password against the information in its user database.
  • After login, the site passes authentication verification data as you move through the site to verify that you are authenticated each time you go to a new page.
  • The authentication verification data is usually passed as either cookies with session data or as tokens, which don’t track the session and are faster to process.

    Also Read:- How Can Modern Technology Help In The Marketing Business?

    How does SSO work?

    Authentication with SSO relies on a trust relationship between domains (websites). With single sign-on, this is what happens when you try to log in to an app or website:

    1. The website first checks to see whether you’ve already been authenticated by the SSO solution, in which case it gives you access to the site.
    2. If you haven’t, it sends you to the SSO solution to log in.
    3. You enter the single username/password that you use for corporate access.
    4. The SSO solution requests authentication from the identity provider or authentication system that your company uses. It verifies your identity and notifies the SSO solution.
    5. The SSO solution passes authentication data to the website and returns you to that site.
    6. After login, the site passes authentication verification data with you as you move through the site to verify that you are authenticated each time you go to a new page.

    In SSO, authentication verification data takes the form of tokens.

    The website redirects the user to the SSO website to log in. The user logs in with a single username and password.

    Also Read:- Artificial Intelligence And Our Economic And Technology Singularity

    The SSO website verifies the user’s identity with an identity provider, such as Active Directory.

    When the user tries to access a different website, the new website checks with the SSO solution. Since the user has been authenticated, it verifies the user’s identity to the new website without requiring an additional login.

    What makes a true SSO system?

    It’s important to understand the difference between single sign-on, and password vaulting, which is sometime referred to as SSO. With password vaulting, you may have the same username and password, but you have to enter it each time you move to a different application or website.

    With SSO, after you’re logged in via the SSO solution, you can access all company-approved applications and websites without having to log in again. That includes cloud and on-prem applications which are often available through an SSO portal (also called a login portal). SSO uses a concept called federation to provide federated SSO.

    What is federated SSO?

    SSO solutions that use federation enable true single sign-on by taking advantage of the organization’s identity provider (IP), such as Microsoft Active Directory (AD) or Azure Active Directory (Azure AD). The identity provider usually acts as the authentication server and stores the user’s identity and information, such as the username, password, domains the user has access to, and even which activities the user is allowed to do on each site or within each app. (Verifying the activities that the user is allowed to do is called authorization. For example, a user may have access to Salesforce reports but may not be permitted to edit customer records.)

    For true SSO, either the SSO solution is built into the identity provider or the SSO solution uses one or more identity providers to authenticate the user.

    Authentication requests and information are passed using standard, secure protocols, such as SAML or OAuth. The websites requesting authentication have a trust relationship with the SSO solution, and trust relationships exist between the SSO solution and the identity providers. A trust relationship means that one domain trusts another’s information about user identities, devices, and access privileges.


Author Biography.


CrowdforThink is the leading Indian media platform, known for its end-to-end coverage of the Indian startups through news, reports, technology and inspiring stories of startup founders, entrepreneurs, investors, influencers and analysis of the startup eco-system, mobile app developers and more dedicated to promote the startup ecosystem.

Join Our Newsletter.

Subscribe to CrowdforThink newsletter to get daily update directly deliver into your inbox.

CrowdforGeeks is where lifelong learners come to learn the skills they need, to land the jobs they want, to build the lives they deserve.


CrowdforThink is a leading Indian media and information platform, known for its end-to-end coverage of the Indian startup ecosystem.


Our mission is "Har Koi Dekhe Video, Har Ghar Dekhe Video, Ghar Ghar Dekhe Video" so we Provide videos related to Tutorials, Travel, Technology, Wedding, Cooking, Dance, Festivals, Celebration.

Apna Video Wala

News & Blogs


Top 5 Trends in Software Development

2023 will see significant changes in the corporate environment as a result of unprecedentedly hig...


Gusto Payroll App, Should You Clone It?

When it comes to payroll management, there are only a few platforms as popular as Gusto Payroll a...


Top Factors to Consider While Selecting an Idea...

In today's rapidly evolving digital landscape, cloud computing has become an essential compon...

Top Authors

Lamia Rochdi is the Marketing Manager at Bell Flavors & Fragrances EMEA. A successful family-...

Lamia Rochdi

I’m Mertin Wilson a technician in a camera company and certified expert of different P...

Mertin Wilson

Zakariya has recently joined the PakWheels team as a Content Marketing Executive, shortly after g...

Zakariya Usman

Pankaj Singh is a Senior Digital Marketing Consultant with more than 2 years of experience in SEO...

Pankaj Singh

Our Client Says

WhatsApp Chat with Our Support Team