All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.admin.resources.assets.LoginSettings-238095c0.js Maven / Gradle / Ivy

There is a newer version: 25.0.1
Show newest version
import{u as b,a as I,c as x,j as e,F as l,h as a,ad as u,aV as h}from"./index-831988f6.js";import{K as d}from"./KeycloakTextInput-ead44014.js";import{M as r}from"./MultiLineInput-6564e881.js";const S=({protocol:n="openid-connect",...t})=>{const{t:i}=b("clients"),{register:s,watch:o}=I(),{realm:p}=x(),c=o("attributes.saml_idp_initiated_sso_url_name"),m=o("standardFlowEnabled");return e.jsxs(e.Fragment,{children:[e.jsx(l,{label:i("rootUrl"),fieldId:"kc-root-url",labelIcon:e.jsx(a,{helpText:i("clients-help:rootURL"),fieldLabelId:"clients:rootUrl"}),children:e.jsx(d,{id:"kc-root-url",type:"url",...s("rootUrl"),...t})}),e.jsx(l,{label:i("homeURL"),fieldId:"kc-home-url",labelIcon:e.jsx(a,{helpText:i("clients-help:homeURL"),fieldLabelId:"clients:homeURL"}),children:e.jsx(d,{id:"kc-home-url",type:"url",...s("baseUrl"),...t})}),m&&e.jsxs(e.Fragment,{children:[e.jsx(l,{label:i("validRedirectUri"),fieldId:"kc-redirect",labelIcon:e.jsx(a,{helpText:i("clients-help:validRedirectURIs"),fieldLabelId:"clients:validRedirectUri"}),children:e.jsx(r,{id:"kc-redirect",name:"redirectUris","aria-label":i("validRedirectUri"),addButtonLabel:"clients:addRedirectUri",...t})}),e.jsx(l,{label:i("validPostLogoutRedirectUri"),fieldId:"kc-postLogoutRedirect",labelIcon:e.jsx(a,{helpText:i("clients-help:validPostLogoutRedirectURIs"),fieldLabelId:"clients:validPostLogoutRedirectUri"}),children:e.jsx(r,{id:"kc-postLogoutRedirect",name:u("attributes.post.logout.redirect.uris"),"aria-label":i("validPostLogoutRedirectUri"),addButtonLabel:"clients:addPostLogoutRedirectUri",stringify:!0,...t})})," "]}),n==="saml"&&e.jsxs(e.Fragment,{children:[e.jsx(l,{label:i("idpInitiatedSsoUrlName"),fieldId:"idpInitiatedSsoUrlName",labelIcon:e.jsx(a,{helpText:i("clients-help:idpInitiatedSsoUrlName"),fieldLabelId:"clients:idpInitiatedSsoUrlName"}),helperText:c!==""&&i("idpInitiatedSsoUrlNameHelp",{url:`${h.authServerUrl}/realms/${p}/protocol/saml/clients/${c}`}),children:e.jsx(d,{id:"idpInitiatedSsoUrlName","data-testid":"idpInitiatedSsoUrlName",...s("attributes.saml_idp_initiated_sso_url_name"),...t})}),e.jsx(l,{label:i("idpInitiatedSsoRelayState"),fieldId:"idpInitiatedSsoRelayState",labelIcon:e.jsx(a,{helpText:i("clients-help:idpInitiatedSsoRelayState"),fieldLabelId:"clients:idpInitiatedSsoRelayState"}),children:e.jsx(d,{id:"idpInitiatedSsoRelayState","data-testid":"idpInitiatedSsoRelayState",...s("attributes.saml_idp_initiated_sso_relay_state"),...t})}),e.jsx(l,{label:i("masterSamlProcessingUrl"),fieldId:"masterSamlProcessingUrl",labelIcon:e.jsx(a,{helpText:i("clients-help:masterSamlProcessingUrl"),fieldLabelId:"clients:masterSamlProcessingUrl"}),children:e.jsx(d,{id:"masterSamlProcessingUrl",type:"url","data-testid":"masterSamlProcessingUrl",...s("adminUrl"),...t})})]}),n!=="saml"&&m&&e.jsx(l,{label:i("webOrigins"),fieldId:"kc-web-origins",labelIcon:e.jsx(a,{helpText:i("clients-help:webOrigins"),fieldLabelId:"clients:webOrigins"}),children:e.jsx(r,{id:"kc-web-origins",name:"webOrigins","aria-label":i("webOrigins"),addButtonLabel:"clients:addWebOrigins",...t})})]})};export{S as L};
//# sourceMappingURL=LoginSettings-238095c0.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy