Browse Source

made all placeholder URLs https

pull/598/head
Justin Richer 11 years ago
parent
commit
761d015bf7
  1. 4
      openid-connect-server-webapp/src/main/webapp/resources/js/client.js
  2. 4
      openid-connect-server-webapp/src/main/webapp/resources/js/dynreg.js
  3. 16
      openid-connect-server-webapp/src/main/webapp/resources/template/client.html

4
openid-connect-server-webapp/src/main/webapp/resources/js/client.js

@ -798,7 +798,7 @@ var ClientFormView = Backbone.View.extend({
$("#redirectUris .controls",this.el).html(new ListWidgetView({
type:'uri',
placeholder: 'http://',
placeholder: 'https://',
collection: this.redirectUrisCollection}).render().el);
// build and bind scopes
@ -828,7 +828,7 @@ var ClientFormView = Backbone.View.extend({
$('#requestUris .controls', this.el).html(new ListWidgetView({
type: 'uri',
placeholder: 'http://',
placeholder: 'https://',
collection: this.requestUrisCollection}).render().el);
// build and bind default ACR values

4
openid-connect-server-webapp/src/main/webapp/resources/js/dynreg.js

@ -368,7 +368,7 @@ var DynRegEditView = Backbone.View.extend({
$("#redirectUris .controls",this.el).html(new ListWidgetView({
type:'uri',
placeholder: 'http://',
placeholder: 'https://',
collection: this.redirectUrisCollection}).render().el);
// build and bind scopes
@ -400,7 +400,7 @@ var DynRegEditView = Backbone.View.extend({
$('#requestUris .controls', this.el).html(new ListWidgetView({
type: 'uri',
placeholder: 'http://',
placeholder: 'https://',
collection: this.requestUrisCollection}).render().el);
// build and bind default ACR values

16
openid-connect-server-webapp/src/main/webapp/resources/template/client.html

@ -195,7 +195,7 @@
<div class="control-group" id="logoUri">
<label class="control-label">Logo</label>
<div class="controls">
<input placeholder="http://" value="<%=logoUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=logoUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL that points to a logo image, will be displayed on approval page</p>
</div>
</div>
@ -210,7 +210,7 @@
<div class="control-group" id="tosUri">
<label class="control-label">Terms of Service</label>
<div class="controls">
<input placeholder="http://" value="<%=tosUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=tosUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL for the Terms of Service of this client, will be displayed to the user</p>
</div>
</div>
@ -218,7 +218,7 @@
<div class="control-group" id="policyUri">
<label class="control-label">Policy Statement</label>
<div class="controls">
<input placeholder="http://" value="<%=policyUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=policyUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL for the Policy Statement of this client, will be displayed to the user</p>
</div>
</div>
@ -226,7 +226,7 @@
<div class="control-group" id="clientUri">
<label class="control-label">Home Page</label>
<div class="controls">
<input placeholder="http://" value="<%=clientUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=clientUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL for the client's home page, will be displayed to the user</p>
</div>
</div>
@ -346,7 +346,7 @@
<div class="control-group" id="sectorIdentifierUri">
<label class="control-label">Sector Identifier URI</label>
<div class="controls">
<input placeholder="http://" value="<%=sectorIdentifierUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=sectorIdentifierUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">Sector Identifier for JavaScript</p>
</div>
</div>
@ -423,7 +423,7 @@
<div class="control-group" id="jwksUri">
<label class="control-label">JWK Set</label>
<div class="controls">
<input placeholder="http://" value="<%=jwksUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=jwksUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL for the client's JSON Web Key set</p>
</div>
</div>
@ -649,7 +649,7 @@
<div class="control-group" id="initiateLoginUri">
<label class="control-label"><span class="label label-default nyi"><i class="icon-road icon-white"></i> NYI </span> Initiate Login</label>
<div class="controls">
<input placeholder="http://" value="<%=initiateLoginUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=initiateLoginUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL to initiate login on the client</p>
</div>
</div>
@ -657,7 +657,7 @@
<div class="control-group" id="postLogoutRedirectUri">
<label class="control-label"><span class="label label-default nyi"><i class="icon-road icon-white"></i> NYI </span> Post-Logout Redirect</label>
<div class="controls">
<input placeholder="http://" value="<%=postLogoutRedirectUri%>" maxlength="1000" type="text" class=""/>
<input placeholder="https://" value="<%=postLogoutRedirectUri%>" maxlength="1000" type="text" class=""/>
<p class="help-block">URL to redirect the client to after a logout operation</p>
</div>
</div>

Loading…
Cancel
Save