PageSourceSearch

https://console.loginradius.com/assets/js/BPUllvQV.js

js loginradius.com collected 2026-10-02 02:16:23 UTC 1,844 bytes, 1 lines download raw bytes

1import{bG as e,bO as t,r,cu as i,bq as o,cv as s}from"./MZk2sk3Q.js";import{u as a,c as n,S as c}from"./r_90E_HP.js";import{i as u,c as l}from"./CQu-9RV2.js";const d=()=>{const{i18n:{languages:d},appUI:{isTrialFlow:p,samlConfigFound:f}}=e(e=>e.appState),{authLogin:g,appBasicInfo:m,authConfig:h}=e(e=>e.auth),S=t(),b=a(),E=n(),$=r.useRef(!1),_="true"===localStorage.getItem("isLoggedIn"),w=e=>{h.oidcHubDomain&&h.oidcClientName&&h.oidcClientId?u(h.oidcHubDomain,h.oidcClientName,h.oidcClientId,`${window.location.origin}/login`,e).then(()=>{$.current=!0}).catch(()=>{$.current=!1}):b("/logout")};return r.useEffect(()=>{if(_)return void b("/getting-started");if(p)return void b("/setup-your-tenant");if(!h.isSuccess||$.current)return;const e=(e=>{const t=new URLSearchParams(e),r={code:"",state:"",samlconfig:"",appName:""};for(const[i,o]of t.entries())r[i]=o;return r})(E.search),{code:t,state:r,samlconfig:i,appName:o,error:a,error_description:n,iss:c,...u}=e;if(a)return $.current=!0,void fetch(`https://${h.domain}/ssologin/logout`,{credentials:"include"}).catch(()=>{}).finally(()=>{$.current=!1,w(u)});if(t&&r){$.current=!0;const e=l(r);if(!e)return $.current=!1,void w(u);S(s({code:t,code_verifier:e,redirect_uri:`${window.location.origin}/login`}))}else if(i&&f){$.current=!0;const e=h.domain,t=`${h.appName}.${h.hubDomain.replace("//","")}`;window.location.href=`https://${t}RequestHandlor.aspx?apikey=${h.apikey}&provider=saml_${i}&is_access_token=true&scope=&callbacktype=&disablesignup=&callback=https://${e}/auth.aspx`}else i||w(u)},[h.isSuccess,f,p]),r.useEffect(()=>{p?b("/setup-your-tenant"):g.isSuccess&&Object.keys(m).length&&b("/getting-started")},[g,m,p]),r.useEffect(()=>{g.isError&&(i("error",d.VALID_USER_MESSAGE),b("/logout"))},[g.isError]),o.jsx(c,{tip:d.PLEASE_WAIT,fullscreen:!0,size:"large"})};export{d as default};

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.