Browse Source

client scopes now added appropriately

pull/873/head
Justin Richer 10 years ago
parent
commit
57648cd9d5
  1. 4
      openid-connect-server-webapp/src/main/webapp/resources/js/client.js

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

@ -801,11 +801,11 @@ var ClientFormView = Backbone.View.extend({
$('.control-group').removeClass('error');
// build the scope object
var scopes = this.scopeCollection.pluck("item");
var extraScope = $('#scope input').val();
if (extraScope) {
this.scopeCollection.add(new ListWidgetItem(extraScope));
scopes.push(extraScope);
}
var scopes = this.scopeCollection.pluck("item");
// build the grant type object
var grantTypes = [];

Loading…
Cancel
Save