1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["12261"],{162869:function(e,t,a){a.r(t),a.d(t,{frontMatter:()=>f,toc:()=>j,default:()=>v,metadata:()=>n,assets:()=>k,contentTitle:()=>x});var n=JSON.parse('{"id":"v1/v-1-saml-callback","title":"Identity provider callback url for the SMAL authentication","description":"Returns the Authorization token for the palette. This is called by the SAML based IDP as a callback url after IDP authenticates the user with its server.","source":"@site/docs/api-content/api-docs/v1/v-1-saml-callback.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-saml-callback","permalink":"/api/v1/v-1-saml-callback","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-saml-callback","title":"Identity provider callback url for the SMAL authentication","description":"Returns the Authorization token for the palette. This is called by the SAML based IDP as a callback url after IDP authenticates the user with its server.","sidebar_label":"Identity provider callback url for the SMAL authentication","hide_title":true,"hide_table_of_contents":true,"api":"eJzNVk1vGzcQ/SuDObUAJcVFD8UeCqgJAqiOEcFS24PhA7U70tLmkgw5K3kr6L8Hsx+WFNkOcosuWi7Jmcc37w13jwWlPJrAxjvM8Ja4ji4BlwTTmksfzf9a5oD9IzlY+9jOBW2JmcawLE0CkyDX1lIBq6adXkxvPsFKJypg9mEOOoFuV6x0/gh1tKDXTLGbq7kkxybXTF3eOlGEneESDCdIFLcUx6jQB4otllmBGf57tdCVfd8HRYWRvtSU+C9fNJjtMfeOybE86hCsxDfeTZ5Gu91utPaxGtXRkst9QYUsSnlJlZYnbgJhhn71QDmjwhAlMxtKMitHu6UUvEsk43P+PrSjFR1ZyH0VrNGOIfa7IJFjYUqOvytNXsLOWAsrgq22ptDcETnvOEY1IEocjdvgQeEtWd0sWPMbEITzJEuA/XNg0K4AnZLPjYx6ztq3A7zLfO1PCO4WtDT89u7dZerP16heI/4hyZJTnn9IeWNYemGoFk2JCtd15JIi6GBaaaWLSp1FeYsnSXkiw6PajYOHHUu6SvP4pUKYdLN+4TAzV5wI+pvYa+t3UCfjNnDzcXqMuvLeknao8GnkK8NUBW4wW2ubSPg/12VfFNabhNkdSg68Vxh01BUxRXl7UZ+40W6g1elKam1kImguUWH7KkMfN72fTBRzcKxJXRrkWR7qktoQSc5fjIcMX2qKzTGFwF0Kx/hW4HuFFXHpxe/Bp9aMgjTDyfZqIjEmPm4mex83h0nSlZ3kx37QNY6OhjpazLBkDimbTHQw4xQo5+hz6+tinPsKJVmivI6Gm4Ug6kUUzDU1lxWezmfwSE1b26NUdyVFgmEu104kuyEnjUt0G3012Bpy75K3BLUrKMI8+rWxBH/CTdMGuKYmDeSVpAuKR/Z6UM+S0N34oL6n+b//W/bSPsftV6yNo6KX5TO7p81ZnPYqoLO0F7jEKG7t2xIbtjI1sDCdzxKM4PfxH6hQ6tUB3V7JaaTmlW7P0SeaFQKHGwjRb40Qd3atDNfT4mb66RvboTrn4uSG+KlvvZ5KpieeBKuNE2JaPe97M9wJW6rrAKo3b9b9iSekJQ+uuFdYio+yO9zvBek/0R4O8rrzZ9syTNIrK75vO88btJ3b/EWgj+KdM7dvta1lXWu4rY5Gkv1g4l9u+970K7zU0l5EMkjSNacgBoRC1+H+oAZlC55u5n2XdbSU/ced3/+mkLbYhZjmOQV+ZXN7L551uvnnxRIVrvoPmcoXsucksjodZHf3h8PhKxbJZxQ=","sidebar_class_name":"post api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Identity provider logout url for the Oidc","permalink":"/api/v1/v-1-oidc-logout"},"next":{"title":"Identity provider logout url for the SMAL","permalink":"/api/v1/v-1-saml-logout"}}'),o=a(474848),s=a(884429),i=a(871174),c=a.n(i),l=a(789850),r=a.n(l),d=a(692176),u=a.n(d),p=a(733210),h=a.n(p);a(337779),a(256314);var m=a(299528),b=a(845056);let f={id:"v-1-saml-callback",title:"Identity provider callback url for the SMAL authentication",description:"Returns the Authorization token for the palette. This is called by the SAML based IDP as a callback url after IDP authenticates the user with its server.",sidebar_label:"Identity provider callback url for the SMAL authentication",hide_title:!0,hide_table_of_contents:!0,api:"eJzNVk1vGzcQ/SuDObUAJcVFD8UeCqgJAqiOEcFS24PhA7U70tLmkgw5K3kr6L8Hsx+WFNkOcosuWi7Jmcc37w13jwWlPJrAxjvM8Ja4ji4BlwTTmksfzf9a5oD9IzlY+9jOBW2JmcawLE0CkyDX1lIBq6adXkxvPsFKJypg9mEOOoFuV6x0/gh1tKDXTLGbq7kkxybXTF3eOlGEneESDCdIFLcUx6jQB4otllmBGf57tdCVfd8HRYWRvtSU+C9fNJjtMfeOybE86hCsxDfeTZ5Gu91utPaxGtXRkst9QYUsSnlJlZYnbgJhhn71QDmjwhAlMxtKMitHu6UUvEsk43P+PrSjFR1ZyH0VrNGOIfa7IJFjYUqOvytNXsLOWAsrgq22ptDcETnvOEY1IEocjdvgQeEtWd0sWPMbEITzJEuA/XNg0K4AnZLPjYx6ztq3A7zLfO1PCO4WtDT89u7dZerP16heI/4hyZJTnn9IeWNYemGoFk2JCtd15JIi6GBaaaWLSp1FeYsnSXkiw6PajYOHHUu6SvP4pUKYdLN+4TAzV5wI+pvYa+t3UCfjNnDzcXqMuvLeknao8GnkK8NUBW4wW2ubSPg/12VfFNabhNkdSg68Vxh01BUxRXl7UZ+40W6g1elKam1kImguUWH7KkMfN72fTBRzcKxJXRrkWR7qktoQSc5fjIcMX2qKzTGFwF0Kx/hW4HuFFXHpxe/Bp9aMgjTDyfZqIjEmPm4mex83h0nSlZ3kx37QNY6OhjpazLBkDimbTHQw4xQo5+hz6+tinPsKJVmivI6Gm4Ug6kUUzDU1lxWezmfwSE1b26NUdyVFgmEu104kuyEnjUt0G3012Bpy75K3BLUrKMI8+rWxBH/CTdMGuKYmDeSVpAuKR/Z6UM+S0N34oL6n+b//W/bSPsftV6yNo6KX5TO7p81ZnPYqoLO0F7jEKG7t2xIbtjI1sDCdzxKM4PfxH6hQ6tUB3V7JaaTmlW7P0SeaFQKHGwjRb40Qd3atDNfT4mb66RvboTrn4uSG+KlvvZ5KpieeBKuNE2JaPe97M9wJW6rrAKo3b9b9iSekJQ+uuFdYio+yO9zvBek/0R4O8rrzZ9syTNIrK75vO88btJ3b/EWgj+KdM7dvta1lXWu4rY5Gkv1g4l9u+970K7zU0l5EMkjSNacgBoRC1+H+oAZlC55u5n2XdbSU/ced3/+mkLbYhZjmOQV+ZXN7L551uvnnxRIVrvoPmcoXsucksjodZHf3h8PhKxbJZxQ=",sidebar_class_name:"post api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},x,k={},j=[];function g(e){let t={p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m.default,{as:"h1",className:"openapi__heading",children:"Identity provider callback url for the SMAL authentication"}),"\n",(0,o.jsx)(c(),{method:"post",path:"/v1/auth/org/{org}/saml/callback",context:"endpoint"}),"\n",(0,o.jsx)(t.p,{children:"Returns the Authorization token for the palette. This is called by the SAML based IDP as a callback url after IDP authenticates the user with its server."}),"\n",(0,o.jsx)(m.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,o.jsx)(b.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,o.jsx)(r(),{...a(708920)}),"\n",(0,o.jsx)(u(),{...a(155322)}),"\n",(0,o.jsx)(h(),{...a(866448)})]})}function v(e={}){let{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},374901:function(e,t,a){a.d(t,{A:()=>p});var n=a(513907);a(296540);var o=a(39836),s=a(845056),i=a(491085),c=a(81178),l=a(256292),r=a(474848);let d={icon:(0,r.jsx)(function(){return(0,r.jsx)(c.gc,{icon:l.s6x})},{}),title:(0,r.jsx)(s.default,{id:"theme.admonition.review",description:"The default label used for the Tech Preview admonition (:::preview)",children:"tech preview"}),defaultText:"This is a Tech Preview feature and is subject to change. Do not use this feature in production workloads."},u={icon:(0,r.jsx)(function(){return(0,r.jsx)(c.gc,{icon:l.eST})},{}),title:(0,r.jsx)(s.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},p={...n.A,preview:function(e){let t=e.children||d.defaultText;return(0,r.jsx)(i.A,{...d,className:(0,o.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||u.defaultText;return(0,r.jsx)(i.A,{...u,className:(0,o.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,a){a.d(t,{A:()=>s}),a(296540);var n=a(97376),o=a(474848);function s(e){return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(n.A,{...e})})}},769048:function(e,t,a){a.r(t),a.d(t,{default:()=>S});var n=a(296540),o=a(955031),s=a(39836),i=a(886626),c=a(816575),l=a(599099),r=a(474848);function d({as:e,...t}){let a=(0,i.A)(),n=(0,l.M$)(a);return(0,r.jsx)(e,{...t,style:n,className:(0,s.A)(t.className,"codeBlockContainer_APcc",c.G.common.codeBlock)})}let u={codeBlockContent:"codeBlockContent_m3Ux",codeBlockTitle:"codeBlockTitle_P25_",codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW",buttonGroup:"buttonGroup_6DOT"};function p({children:e,className:t}){return(0,r.jsx)(d,{as:"pre",tabIndex:0,className:(0,s.A)(u.codeBlockStandalone,"thin-scrollbar",t),children:(0,r.jsx)("code",{className:u.codeBlockLines,children:e})})}
1var h=a(388478),m=a(838588),b=a(58317);function f({line:e,classNames:t,showLineNumbers:a,getLineProps:n,getTokenProps:o}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let i=n({line:e,className:(0,s.A)(t,a&&"codeLine_iPqp")}),c=e.map((e,t)=>(0,r.jsx)("span",{...o({token:e,key:t})},t));return(0,r.jsxs)("span",{...i,children:[a?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,r.jsx)("span",{className:"codeLineContent_pOih",children:c})]}):c,(0,r.jsx)("br",{})]})}var x=a(23028),k=a(845056),j=a(529945),g=a(73451);let v={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function N({code:e,className:t}){let[a,o]=(0,n.useState)(!1),i=(0,n.useRef)(void 0),c=(0,n.useCallback)(()=>{(0,x.default)(e),o(!0),i.current=window.setTimeout(()=>{o(!1)},1e3)},[e]);return(0,n.useEffect)(()=>()=>window.clearTimeout(i.current),[]),(0,r.jsx)("button",{type:"button","aria-label":a?(0,k.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,k.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,k.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.A)("clean-btn",t,v.copyButton,a&&v.copyButtonCopied),onClick:c,children:(0,r.jsxs)("span",{className:v.copyButtonIcons,"aria-hidden":"true",children:[(0,r.jsx)(j.A,{className:v.copyButtonIcon}),(0,r.jsx)(g.A,{className:v.copyButtonSuccessIcon})]})})}var y=a(113824);function B({className:e,onClick:t,isEnabled:a}){let n=(0,k.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,r.jsx)("button",{type:"button",onClick:t,className:(0,s.A)("clean-btn",e,a&&"wordWrapButtonEnabled_gY8A"),"aria-label":n,title:n,children:(0,r.jsx)(y.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function A({children:e,className:t="",metastring:a,title:n,showLineNumbers:o,language:c,hideClipboard:p=!1}){var x;let{prism:{defaultLanguage:k,magicComments:j}}=(0,h.p)(),g=(x=c??(0,l.DX)(t)??k,x?.toLowerCase()),v=(0,i.A)(),y=(0,m.f)(),A=(0,l.wt)(a)||n,{lineClassNames:S,code:I}=(0,l.Li)(e,{metastring:a,language:g,magicComments:j}),T=o??(0,l._u)(a);return p=a&&a.includes("hideClipboard"),(0,r.jsxs)(d,{as:"div",className:(0,s.A)(t,g&&!t.includes(`language-${g}`)&&`language-${g}`),children:[A&&(0,r.jsx)("div",{className:u.codeBlockTitle,children:A}),(0,r.jsxs)("div",{className:u.codeBlockContent,children:[(0,r.jsx)(b.Highlight,{theme:v,code:I,language:g??"text",children:({className:e,style:t,tokens:a,getLineProps:n,getTokenProps:o})=>(0,r.jsx)("pre",{tabIndex:0,ref:y.codeBlockRef,className:(0,s.A)(e,u.codeBlock,"thin-scrollbar"),style:t,children:(0,r.jsx)("code",{className:(0,s.A)(u.codeBlockLines,T&&u.codeBlockLinesWithNumbering),children:a.map((e,t)=>(0,r.jsx)(f,{line:e,getLineProps:n,getTokenProps:o,classNames:S[t],showLineNumbers:T},t))})})}),(0,r.jsxs)("div",{className:u.buttonGroup,children:[(y.isEnabled||y.isCodeScrollable)&&(0,r.jsx)(B,{className:u.codeButton,onClick:()=>y.toggle(),isEnabled:y.isEnabled}),!p&&(0,r.jsx)(N,{className:u.codeButton,code:I})]})]})]})}function S({children:e,...t}){let a=(0,o.default)(),s=n.Children.toArray(e).some(e=>(0,n.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,r.jsx)("string"==typeof s?A:p,{...t,children:s},String(a))}},178766:function(e,t,a){a.r(t),a.d(t,{default:()=>d}),a(296540);var n=a(769048),o=a(39836),s=a(829515),i=a(494528),c=a(952242),l=a(169764),r=a(474848);let d=function({children:e,collapsible:t,name:a,qualifierMessage:d,required:u,schemaName:p,schema:h}){let m,b,f,x;h&&(m=h.deprecated,b=h.description,f=h.default,x=h.nullable);let k=(0,i.guard)(Array.isArray(u)?u.includes(a):u,()=>(0,r.jsx)("span",{className:"openapi-schema__required",children:"required"})),j=(0,i.guard)(m,()=>(0,r.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),g=(0,i.guard)(x,()=>(0,r.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),v=(0,i.guard)(b,e=>(0,r.jsx)("div",{children:(0,r.jsx)(c.oz,{children:(0,s.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:a,children:o,...s}){let i=/language-(\w+)/.exec(a||"");return t?(0,r.jsx)("code",{children:o}):t||null==i?(0,r.jsx)(n.default,{children:o}):(0,r.jsx)(n.default,{className:a,children:o})}},rehypePlugins:[l.A]})})),N=(0,i.guard)(d,e=>(0,r.jsx)("div",{children:(0,r.jsx)(c.oz,{children:(0,s.createDescription)(e),rehypePlugins:[l.A]})})),y=(0,i.guard)("boolean"==typeof f?f.toString():f,e=>(0,r.jsx)("div",{className:"",children:(0,r.jsx)(c.oz,{children:`**Default value:** \`${e}\``})})),B=(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{className:"openapi-schema__container",children:[(0,r.jsx)("strong",{className:(0,o.A)("openapi-schema__property",{"openapi-schema__strikethrough":m}),children:a}),(0,r.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof p?JSON.stringify(p):p}),(x||u||m)&&(0,r.jsx)("span",{className:"openapi-schema__divider"}),g,!m&&k,j]}),N,y,v,e??e]});return(0,r.jsx)("div",{className:"openapi-schema__list-item",children:t?e:B})}},708920:function(e){e.exports=JSON.parse('{"parameters":[{"description":"Organization name","in":"path","name":"org","required":true,"schema":{"type":"string"}},{"description":"Deprecated.","in":"query","name":"authToken","schema":{"type":"string"}}]}')},155322:function(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"SAMLResponse":{"description":"Describe the SAML compliant response sent by IDP which will be validated by Palette","type":"string"},"RelayState":{"description":"Describes a state to validate and associate request and response","type":"string"}}}}}}}')},866448:function(e){e.exports=JSON.parse('{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"description":"Returns the Authorization token. To be used for further api calls","properties":{"Authorization":{"description":"Describes the authentication token in jwt format.","type":"string"},"isMfa":{"description":"Indicates the authentication flow using MFA","type":"boolean","x-omitempty":false}},"type":"object"}}}}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.