From 0f9d4ef255ffcbe7480da3f84fd5e46decaf5f26 Mon Sep 17 00:00:00 2001 From: Michael Jett Date: Fri, 10 Aug 2012 17:05:28 -0400 Subject: [PATCH] Id refactor UI --- openid-connect-server/src/main/webapp/resources/js/app.js | 4 ++-- .../src/main/webapp/resources/template/client.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openid-connect-server/src/main/webapp/resources/js/app.js b/openid-connect-server/src/main/webapp/resources/js/app.js index b557fe28c..a6a7b5bdf 100644 --- a/openid-connect-server/src/main/webapp/resources/js/app.js +++ b/openid-connect-server/src/main/webapp/resources/js/app.js @@ -60,7 +60,7 @@ // We can pass it default values. defaults:{ idTokenValiditySeconds: 0, - clientName:"", + applicationName:"", clientSecret:"", registeredRedirectUri:[], authorizedGrantTypes:["authorization_code"], @@ -206,7 +206,7 @@ }); var valid = this.model.set({ - clientName:$('#clientName input').val(), + applicationName:$('#applicationName input').val(), clientSecret:$('#clientSecret input').val(), registeredRedirectUri:registeredRedirectUri, clientDescription:$('#clientDescription textarea').val(), diff --git a/openid-connect-server/src/main/webapp/resources/template/client.html b/openid-connect-server/src/main/webapp/resources/template/client.html index fff369f24..f4f3824e2 100644 --- a/openid-connect-server/src/main/webapp/resources/template/client.html +++ b/openid-connect-server/src/main/webapp/resources/template/client.html @@ -5,7 +5,7 @@ - <%=clientName%> + <%=applicationName%> @@ -45,10 +45,10 @@
Details <%=(clientId != null ? 'for ' + clientId : '')%> -
- +
+
- +

Supporting help text