mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	Use localized strings for the OpenID Connect texts.
This commit is contained in:
		| @@ -11,7 +11,7 @@ | ||||
|                 <li role="presentation" class="nav-item"><a href="#locations" aria-controls="tab4" role="tab" data-toggle="tab" class="nav-link"><i class="fe fe-layers"></i> <%- i18n('all-hosts', 'locations') %></a></li> | ||||
|                 <li role="presentation" class="nav-item"><a href="#ssl-options" aria-controls="tab2" role="tab" data-toggle="tab" class="nav-link"><i class="fe fe-shield"></i> <%- i18n('str', 'ssl') %></a></li> | ||||
|                 <li role="presentation" class="nav-item"><a href="#advanced" aria-controls="tab3" role="tab" data-toggle="tab" class="nav-link"><i class="fe fe-settings"></i> <%- i18n('all-hosts', 'advanced') %></a></li> | ||||
|                 <li role="presentation" class="nav-item"><a href="#openidc" aria-controls="tab3" role="tab" data-toggle="tab" class="nav-link"><i class="fe fe-settings"></i>OpenID Connect</a></li> | ||||
|                 <li role="presentation" class="nav-item"><a href="#openidc" aria-controls="tab3" role="tab" data-toggle="tab" class="nav-link"><i class="fe fe-settings"></i><%- i18n('proxy-hosts', 'oidc') %></a></li> | ||||
|             </ul> | ||||
|             <div class="tab-content"> | ||||
|  | ||||
| @@ -280,25 +280,25 @@ | ||||
|                                 <label class="custom-switch"> | ||||
|                                     <input type="checkbox" class="custom-switch-input" name="openidc_enabled" value="1"<%- openidc_enabled ? ' checked' : '' %>> | ||||
|                                     <span class="custom-switch-indicator"></span> | ||||
|                                     <span class="custom-switch-description">Use OpenID Connect authentication</span> | ||||
|                                     <span class="custom-switch-description"><%- i18n('proxy-hosts', 'oidc-enabled') %></span> | ||||
|                                 </label> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                         <div class="col-sm-12 col-md-12 openidc"> | ||||
|                             <div class="form-group"> | ||||
|                                 <label class="form-label">Redirect URI<span class="form-required">*</span></label> | ||||
|                                 <label class="form-label"><%- i18n('proxy-hosts', 'oidc-redirect-uri') %><span class="form-required">*</span></label> | ||||
|                                 <input type="text" name="openidc_redirect_uri" class="form-control text-monospace" placeholder="" value="<%- openidc_redirect_uri %>" autocomplete="off" maxlength="255" required> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                         <div class="col-sm-12 col-md-12 openidc"> | ||||
|                             <div class="form-group"> | ||||
|                                 <label class="form-label">Well-known discovery endpoint<span class="form-required">*</span></label> | ||||
|                                 <label class="form-label"><%- i18n('proxy-hosts', 'oidc-discovery-endpoint') %><span class="form-required">*</span></label> | ||||
|                                 <input type="text" name="openidc_discovery" class="form-control text-monospace" placeholder="" value="<%- openidc_discovery %>" autocomplete="off" maxlength="255" required> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                         <div class="col-sm-12 col-md-12 openidc"> | ||||
|                             <div class="form-group"> | ||||
|                                 <label class="form-label">Token endpoint auth method<span class="form-required">*</span></label> | ||||
|                                 <label class="form-label"><%- i18n('proxy-hosts', 'oidc-token-auth-method') %><span class="form-required">*</span></label> | ||||
|                                 <select name="openidc_auth_method" class="form-control custom-select" placeholder="client_secret_post"> | ||||
|                                     <option value="client_secret_post" <%- openidc_auth_method === 'client_secret_post' ? 'selected' : '' %>>client_secret_post</option> | ||||
|                                     <option value="client_secret_basic" <%- openidc_auth_method === 'client_secret_basic' ? 'selected' : '' %>>client_secret_basic</option> | ||||
| @@ -307,13 +307,13 @@ | ||||
|                         </div> | ||||
|                         <div class="col-sm-12 col-md-12 openidc"> | ||||
|                             <div class="form-group"> | ||||
|                                 <label class="form-label">Client ID<span class="form-required">*</span></label> | ||||
|                                 <label class="form-label"><%- i18n('proxy-hosts', 'oidc-client-id') %><span class="form-required">*</span></label> | ||||
|                                 <input type="text" name="openidc_client_id" class="form-control text-monospace" placeholder="" value="<%- openidc_client_id %>" autocomplete="off" maxlength="255" required> | ||||
|                             </div> | ||||
|                         </div> | ||||
|                         <div class="col-sm-12 col-md-12 openidc"> | ||||
|                             <div class="form-group"> | ||||
|                                 <label class="form-label">Client secret<span class="form-required">*</span></label> | ||||
|                                 <label class="form-label"><%- i18n('proxy-hosts', 'oidc-client-secret') %><span class="form-required">*</span></label> | ||||
|                                 <input type="text" name="openidc_client_secret" class="form-control text-monospace" placeholder="" value="<%- openidc_client_secret %>" autocomplete="off" maxlength="255" required> | ||||
|                             </div> | ||||
|                         </div> | ||||
| @@ -323,13 +323,13 @@ | ||||
|                                     <label class="custom-switch"> | ||||
|                                         <input type="checkbox" class="custom-switch-input" name="openidc_restrict_users_enabled" value="1"<%- openidc_restrict_users_enabled ? ' checked' : '' %>> | ||||
|                                         <span class="custom-switch-indicator"></span> | ||||
|                                         <span class="custom-switch-description">Allow only these user emails</span> | ||||
|                                         <span class="custom-switch-description"><%- i18n('proxy-hosts', 'oidc-allow-only-emails') %></span> | ||||
|                                     </label> | ||||
|                                 </div> | ||||
|                             </div> | ||||
|                             <div class="col-sm-12 col-md-12 openidc_users"> | ||||
|                                 <div class="form-group"> | ||||
|                                     <label class="form-label">Allowed email addresses<span class="form-required">*</span></label> | ||||
|                                     <label class="form-label"><%- i18n('proxy-hosts', 'oidc-allowed-emails') %><span class="form-required">*</span></label> | ||||
|                                     <input type="text" name="openidc_allowed_users" class="form-control" id="openidc_allowed_users" value="<%- openidc_allowed_users.join(',') %>" required> | ||||
|                                 </div> | ||||
|                             </div> | ||||
|   | ||||
| @@ -130,7 +130,16 @@ | ||||
|       "access-list": "Access List", | ||||
|       "allow-websocket-upgrade": "Websockets Support", | ||||
|       "ignore-invalid-upstream-ssl": "Ignore Invalid SSL", | ||||
|       "custom-forward-host-help": "Use 1.1.1.1/path for sub-folder forwarding" | ||||
|       "custom-forward-host-help": "Use 1.1.1.1/path for sub-folder forwarding", | ||||
|       "oidc": "OpenID Connect", | ||||
|       "oidc-enabled": "Use OpenID Connect authentication", | ||||
|       "oidc-redirect-uri": "Redirect URI", | ||||
|       "oidc-discovery-endpoint": "Well-known discovery endpoint", | ||||
|       "oidc-token-auth-method": "Token endpoint auth method", | ||||
|       "oidc-client-id": "Client ID", | ||||
|       "oidc-client-secret": "Client secret", | ||||
|       "oidc-allow-only-emails": "Allow only these user emails", | ||||
|       "oidc-allowed-emails": "Allowed email addresses" | ||||
|     }, | ||||
|     "redirection-hosts": { | ||||
|       "title": "Redirection Hosts", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user