|
@@ -38,6 +38,29 @@ class GoogleSecurityManagement extends React.Component {
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
+ <div className="row mb-5">
|
|
|
|
|
+ <label className="col-xs-3 text-right">{ t('security_setting.callback_URL') }</label>
|
|
|
|
|
+ <div className="col-xs-6">
|
|
|
|
|
+ <input
|
|
|
|
|
+ className="form-control"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ value={adminGoogleSecurityContainer.state.callbackUrl}
|
|
|
|
|
+ readOnly
|
|
|
|
|
+ />
|
|
|
|
|
+ <p className="help-block small">{ t('security_setting.desc_of_callback_URL', { AuthName: 'OAuth' }) }</p>
|
|
|
|
|
+ {!adminGeneralSecurityContainer.state.appSiteUrl && (
|
|
|
|
|
+ <div className="alert alert-danger">
|
|
|
|
|
+ <i
|
|
|
|
|
+ className="icon-exclamation"
|
|
|
|
|
+ // eslint-disable-next-line max-len
|
|
|
|
|
+ dangerouslySetInnerHTML={{ __html: t('security_setting.alert_siteUrl_is_not_set', { link: `<a href="/admin/app">${t('App settings')}<i class="icon-login"></i></a>` }) }}
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ )}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
{adminGeneralSecurityContainer.state.isGoogleOAuthEnabled && (
|
|
{adminGeneralSecurityContainer.state.isGoogleOAuthEnabled && (
|
|
|
// TODO
|
|
// TODO
|
|
|
<p>{adminGoogleSecurityContainer.state.hoge}</p>
|
|
<p>{adminGoogleSecurityContainer.state.hoge}</p>
|