js

Sunday, July 20, 2025

What is Single Sign-On (SSO)?

 

✅ What is Single Sign-On (SSO)?

Single Sign-On (SSO) is an authentication process that allows a user to log in once and gain access to multiple applications or systems without having to log in again for each of them.

👉 Example:

  • You log into your Google account, and you automatically get access to Gmail, YouTube, Google Drive, Google Docs, etc., without signing in separately for each service.


✅ How SSO Works — Step by Step:

StepDescription
1️⃣ User Login RequestThe user visits an application (called the Service Provider, e.g., Gmail) and tries to log in.
2️⃣ Redirect to Identity Provider (IdP)The application redirects the user to an Identity Provider (IdP) (e.g., Google Identity, Okta, Azure AD) to authenticate.
3️⃣ AuthenticationThe user enters login credentials only once at the Identity Provider.
4️⃣ Token/Session CreationIf the credentials are correct, the IdP creates a secure token (like SAML, OAuth, or OpenID Connect token).
5️⃣ Redirect BackThe user is redirected back to the application with the token.
6️⃣ Access GrantedThe application validates the token, and the user gets access. Now the user can access other related applications without logging in again.

✅ SSO Common Terms:

  • Identity Provider (IdP): Authenticates user identity (e.g., Okta, Google).

  • Service Provider (SP): The application the user wants to access (e.g., Gmail, Salesforce).

  • Token: A digitally signed document verifying user identity (SAML, OAuth, JWT).


✅ Benefits of SSO:

  • ✔️ One Login for multiple services

  • ✔️ Better user experience

  • ✔️ Reduced password fatigue

  • ✔️ Stronger security controls at one central point

  • ✔️ Easier IT management


✅ Disadvantages of SSO:

  • If SSO is compromised, all connected services are at risk.

  • Initial setup can be complex.

  • Dependency on Identity Provider availability.


✅ Common SSO Protocols:

  • SAML (Security Assertion Markup Language) → Popular in Enterprises

  • OAuth 2.0 → Used by apps like Google, Facebook

  • OpenID Connect → Built on top of OAuth 2.0 for identity verification




No comments:

Post a Comment

Class 10 Assamese lesson 10 āĻ…ā§°ুāĻŖিāĻŽা āϏিāύāĻšা Question answer

 (ā§§) āϚāĻŽুāĻ•ৈ āωāϤ্āϤ⧰ঃ āϞিāĻ–া। (āĻ•) āĻ…ā§°ুāĻŖিāĻŽা āϏিāύāĻšাā§° āĻ•োāύāĻŦিāϧ āĻ–েāϞāϤ āĻŦিāĻļেāώ āĻĻāĻ•্āώāϤা āφāĻ›িāϞ ?  āωāϤ্āϤ⧰ঃ āĻ…ā§°ুāĻŖিāĻŽা āϏিāύāĻšাā§° āĻ­āϞীāĻŦāϞ āĻ–েāϞāϤ āĻŦিāĻļেāώ āĻĻāĻ•্āώāϤা āφāĻ›িāϞ। (āĻ–) āĻ…ā§°ুāύি...