Single Sign On | SAML vs OAuth

Logging in to Google allows one to access all services offered by Google (GMail, Kaggle, Drive, Play Store, etc.). This is possible due to Single Sign On (SSO)

SAML and OAuth


  • Security Assertion Markup Language
  • SAML is used to login a user to a Service Provider network.
  • It uses XML based tokens to pass login credentials between Client, Service Provider, and Identity Provider.
  • SAML Versions: SAML 1.0 — SAML 1.1 — SAML 2.0
    SAML 2.0 is not backwards compatible with SAML 1.1. SAML 2.0 is widely recognized as SAML and used.




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Swagat Jena

Swagat Jena


A learner trying new ventures. I wish to build skills and network by sharing knowledge. Feel free to comment suggestions on the posts.