|
@@ -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">
|
|
|
|
|
|
|
+ <div className="row my-4">
|
|
|
<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
|
|
@@ -63,7 +63,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</label>
|
|
</label>
|
|
|
</div>
|
|
</div>
|
|
|
{(!adminGeneralSecurityContainer.state.setupStrategies.includes('oidc') && isOidcEnabled)
|
|
{(!adminGeneralSecurityContainer.state.setupStrategies.includes('oidc') && isOidcEnabled)
|
|
|
- && <div className="badge bg-warning text-dark">{t('security_settings.setup_is_not_yet_complete')}</div>}
|
|
|
|
|
|
|
+ && <div className="badge text-bg-warning">{t('security_settings.setup_is_not_yet_complete')}</div>}
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -92,9 +92,9 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
{isOidcEnabled && (
|
|
{isOidcEnabled && (
|
|
|
<>
|
|
<>
|
|
|
|
|
|
|
|
- <h3 className="border-bottom">{t('security_settings.configuration')}</h3>
|
|
|
|
|
|
|
+ <h3 className="border-bottom mb-4">{t('security_settings.configuration')}</h3>
|
|
|
|
|
|
|
|
- <div className="row mb-5">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcProviderName" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.providerName')}</label>
|
|
<label htmlFor="oidcProviderName" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcIssuerHost" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.issuerHost')}</label>
|
|
<label htmlFor="oidcIssuerHost" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcClientId" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.clientID')}</label>
|
|
<label htmlFor="oidcClientId" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcClientSecret" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.client_secret')}</label>
|
|
<label htmlFor="oidcClientSecret" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcAuthorizationEndpoint" className="text-start text-md-end col-md-3 col-form-label">
|
|
<label htmlFor="oidcAuthorizationEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcTokenEndpoint" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.token_endpoint')}</label>
|
|
<label htmlFor="oidcTokenEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcRevocationEndpoint" className="text-start text-md-end col-md-3 col-form-label">
|
|
<label htmlFor="oidcRevocationEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcIntrospectionEndpoint" className="text-start text-md-end col-md-3 col-form-label">
|
|
<label htmlFor="oidcIntrospectionEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcUserInfoEndpoint" className="text-start text-md-end col-md-3 col-form-label">
|
|
<label htmlFor="oidcUserInfoEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcEndSessionEndpoint" className="text-start text-md-end col-md-3 col-form-label">
|
|
<label htmlFor="oidcEndSessionEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcRegistrationEndpoint" className="text-start text-md-end col-md-3 col-form-label">
|
|
<label htmlFor="oidcRegistrationEndpoint" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcJWKSUri" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.jwks_uri')}</label>
|
|
<label htmlFor="oidcJWKSUri" className="text-start text-md-end col-md-3 col-form-label">{t('security_settings.jwks_uri')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -295,11 +295,11 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <h3 className="alert-anchor border-bottom">
|
|
|
|
|
|
|
+ <h3 className="alert-anchor border-bottom mb-4">
|
|
|
Attribute Mapping ({t('optional')})
|
|
Attribute Mapping ({t('optional')})
|
|
|
</h3>
|
|
</h3>
|
|
|
|
|
|
|
|
- <div className="row mb-5">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcAttrMapId" className="text-start text-md-end col-md-3 col-form-label">Identifier</label>
|
|
<label htmlFor="oidcAttrMapId" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcAttrMapUserName" className="text-start text-md-end col-md-3 col-form-label">{t('username')}</label>
|
|
<label htmlFor="oidcAttrMapUserName" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcAttrMapName" className="text-start text-md-end col-md-3 col-form-label">{t('Name')}</label>
|
|
<label htmlFor="oidcAttrMapName" className="text-start text-md-end 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">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label htmlFor="oidcAttrMapEmail" className="text-start text-md-end col-md-3 col-form-label">{t('Email')}</label>
|
|
<label htmlFor="oidcAttrMapEmail" className="text-start text-md-end col-md-3 col-form-label">{t('Email')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -363,7 +363,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<label className="form-label text-start text-md-end col-md-3 col-form-label">{t('security_settings.callback_URL')}</label>
|
|
<label className="form-label text-start text-md-end col-md-3 col-form-label">{t('security_settings.callback_URL')}</label>
|
|
|
<div className="col-md-6">
|
|
<div className="col-md-6">
|
|
|
<input
|
|
<input
|
|
@@ -385,7 +385,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<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
|
|
@@ -407,7 +407,7 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div className="row mb-5">
|
|
|
|
|
|
|
+ <div className="row mb-4">
|
|
|
<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
|
|
@@ -452,11 +452,13 @@ class OidcSecurityManagementContents extends React.Component {
|
|
|
<span className="material-symbols-outlined" aria-hidden="true">help</span>
|
|
<span className="material-symbols-outlined" aria-hidden="true">help</span>
|
|
|
<a href="#collapseHelpForOidcOauth" data-bs-toggle="collapse"> {t('security_settings.OAuth.how_to.oidc')}</a>
|
|
<a href="#collapseHelpForOidcOauth" data-bs-toggle="collapse"> {t('security_settings.OAuth.how_to.oidc')}</a>
|
|
|
</h4>
|
|
</h4>
|
|
|
- <ol id="collapseHelpForOidcOauth" className="collapse">
|
|
|
|
|
- <li>{t('security_settings.OAuth.OIDC.register_1')}</li>
|
|
|
|
|
- <li>{t('security_settings.OAuth.OIDC.register_2')}</li>
|
|
|
|
|
- <li>{t('security_settings.OAuth.OIDC.register_3')}</li>
|
|
|
|
|
- </ol>
|
|
|
|
|
|
|
+ <div className=" card custom-card bg-body-tertiary">
|
|
|
|
|
+ <ol id="collapseHelpForOidcOauth" className="collapse mb-0">
|
|
|
|
|
+ <li>{t('security_settings.OAuth.OIDC.register_1')}</li>
|
|
|
|
|
+ <li>{t('security_settings.OAuth.OIDC.register_2')}</li>
|
|
|
|
|
+ <li>{t('security_settings.OAuth.OIDC.register_3')}</li>
|
|
|
|
|
+ </ol>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</>
|
|
</>
|