|
@@ -48,7 +48,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
{t('security_settings.OAuth.OIDC.name')}
|
|
{t('security_settings.OAuth.OIDC.name')}
|
|
|
</h2>
|
|
</h2>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<div className="offset-3 col-6">
|
|
<div className="offset-3 col-6">
|
|
|
<div className="form-check form-switch form-check-success">
|
|
<div className="form-check form-switch form-check-success">
|
|
|
<input
|
|
<input
|
|
@@ -58,7 +58,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
checked={adminGeneralSecurityContainer.state.isOidcEnabled}
|
|
checked={adminGeneralSecurityContainer.state.isOidcEnabled}
|
|
|
onChange={() => { adminGeneralSecurityContainer.switchIsOidcEnabled() }}
|
|
onChange={() => { adminGeneralSecurityContainer.switchIsOidcEnabled() }}
|
|
|
/>
|
|
/>
|
|
|
- <label className="form-check-label" htmlFor="isOidcEnabled">
|
|
|
|
|
|
|
+ <label className="form-label form-check-label" htmlFor="isOidcEnabled">
|
|
|
{t('security_settings.OAuth.enable_oidc')}
|
|
{t('security_settings.OAuth.enable_oidc')}
|
|
|
</label>
|
|
</label>
|
|
|
</div>
|
|
</div>
|
|
@@ -67,7 +67,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.callback_URL')}</label>
|
|
<label className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.callback_URL')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -94,7 +94,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
|
|
|
|
|
<h3 className="border-bottom">{t('security_settings.configuration')}</h3>
|
|
<h3 className="border-bottom">{t('security_settings.configuration')}</h3>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcProviderName" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.providerName')}</label>
|
|
<label htmlFor="oidcProviderName" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.providerName')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -107,7 +107,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcIssuerHost" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.issuerHost')}</label>
|
|
<label htmlFor="oidcIssuerHost" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.issuerHost')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -123,7 +123,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcClientId" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.clientID')}</label>
|
|
<label htmlFor="oidcClientId" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.clientID')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -139,7 +139,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcClientSecret" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.client_secret')}</label>
|
|
<label htmlFor="oidcClientSecret" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.client_secret')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -155,7 +155,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcAuthorizationEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
<label htmlFor="oidcAuthorizationEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
|
{t('security_settings.authorization_endpoint')}
|
|
{t('security_settings.authorization_endpoint')}
|
|
|
</label>
|
|
</label>
|
|
@@ -173,7 +173,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcTokenEndpoint" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.token_endpoint')}</label>
|
|
<label htmlFor="oidcTokenEndpoint" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.token_endpoint')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -189,7 +189,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcRevocationEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
<label htmlFor="oidcRevocationEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
|
{t('security_settings.revocation_endpoint')}
|
|
{t('security_settings.revocation_endpoint')}
|
|
|
</label>
|
|
</label>
|
|
@@ -207,7 +207,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcIntrospectionEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
<label htmlFor="oidcIntrospectionEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
|
{t('security_settings.introspection_endpoint')}
|
|
{t('security_settings.introspection_endpoint')}
|
|
|
</label>
|
|
</label>
|
|
@@ -225,7 +225,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcUserInfoEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
<label htmlFor="oidcUserInfoEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
|
{t('security_settings.userinfo_endpoint')}
|
|
{t('security_settings.userinfo_endpoint')}
|
|
|
</label>
|
|
</label>
|
|
@@ -243,7 +243,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcEndSessionEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
<label htmlFor="oidcEndSessionEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
|
{t('security_settings.end_session_endpoint')}
|
|
{t('security_settings.end_session_endpoint')}
|
|
|
</label>
|
|
</label>
|
|
@@ -261,7 +261,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcRegistrationEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
<label htmlFor="oidcRegistrationEndpoint" className="text-left text-md-right col-md-3 col-form-label">
|
|
|
{t('security_settings.registration_endpoint')}
|
|
{t('security_settings.registration_endpoint')}
|
|
|
</label>
|
|
</label>
|
|
@@ -279,7 +279,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcJWKSUri" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.jwks_uri')}</label>
|
|
<label htmlFor="oidcJWKSUri" className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.jwks_uri')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -299,7 +299,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
Attribute Mapping ({t('security_settings.optional')})
|
|
Attribute Mapping ({t('security_settings.optional')})
|
|
|
</h3>
|
|
</h3>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcAttrMapId" className="text-left text-md-right col-md-3 col-form-label">Identifier</label>
|
|
<label htmlFor="oidcAttrMapId" className="text-left text-md-right col-md-3 col-form-label">Identifier</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -315,7 +315,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcAttrMapUserName" className="text-left text-md-right col-md-3 col-form-label">{t('username')}</label>
|
|
<label htmlFor="oidcAttrMapUserName" className="text-left text-md-right col-md-3 col-form-label">{t('username')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -331,7 +331,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcAttrMapName" className="text-left text-md-right col-md-3 col-form-label">{t('Name')}</label>
|
|
<label htmlFor="oidcAttrMapName" className="text-left text-md-right col-md-3 col-form-label">{t('Name')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -347,7 +347,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<label htmlFor="oidcAttrMapEmail" className="text-left text-md-right col-md-3 col-form-label">{t('Email')}</label>
|
|
<label htmlFor="oidcAttrMapEmail" className="text-left text-md-right col-md-3 col-form-label">{t('Email')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -363,8 +363,8 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
- <label className="text-left text-md-right col-md-3 col-form-label">{t('security_settings.callback_URL')}</label>
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
|
|
+ <label className="form-label text-left text-md-right col-md-3 col-form-label">{t('security_settings.callback_URL')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
|
className="form-control"
|
|
className="form-control"
|
|
@@ -385,7 +385,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<div className="offset-md-3 col-md-6">
|
|
<div className="offset-md-3 col-md-6">
|
|
|
<div className="form-check form-check-success">
|
|
<div className="form-check form-check-success">
|
|
|
<input
|
|
<input
|
|
@@ -396,7 +396,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
onChange={() => { adminOidcSecurityContainer.switchIsSameUsernameTreatedAsIdenticalUser() }}
|
|
onChange={() => { adminOidcSecurityContainer.switchIsSameUsernameTreatedAsIdenticalUser() }}
|
|
|
/>
|
|
/>
|
|
|
<label
|
|
<label
|
|
|
- className="form-check-label"
|
|
|
|
|
|
|
+ className="form-label form-check-label"
|
|
|
htmlFor="bindByUserName-oidc"
|
|
htmlFor="bindByUserName-oidc"
|
|
|
dangerouslySetInnerHTML={{ __html: t('security_settings.Treat username matching as identical') }}
|
|
dangerouslySetInnerHTML={{ __html: t('security_settings.Treat username matching as identical') }}
|
|
|
/>
|
|
/>
|
|
@@ -407,7 +407,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5 form-group">
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
<div className="offset-md-3 col-md-6">
|
|
<div className="offset-md-3 col-md-6">
|
|
|
<div className="form-check form-check-success">
|
|
<div className="form-check form-check-success">
|
|
|
<input
|
|
<input
|
|
@@ -418,7 +418,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
onChange={() => { adminOidcSecurityContainer.switchIsSameEmailTreatedAsIdenticalUser() }}
|
|
onChange={() => { adminOidcSecurityContainer.switchIsSameEmailTreatedAsIdenticalUser() }}
|
|
|
/>
|
|
/>
|
|
|
<label
|
|
<label
|
|
|
- className="form-check-label"
|
|
|
|
|
|
|
+ className="form-label form-check-label"
|
|
|
htmlFor="bindByEmail-oidc"
|
|
htmlFor="bindByEmail-oidc"
|
|
|
dangerouslySetInnerHTML={{ __html: t('security_settings.Treat email matching as identical') }}
|
|
dangerouslySetInnerHTML={{ __html: t('security_settings.Treat email matching as identical') }}
|
|
|
/>
|
|
/>
|