fix client_uri in authorization_dialog

This commit is contained in:
AJ ONeal 2017-02-07 19:24:44 -07:00
parent fb198ab8f0
commit 3dcc52c428
1 changed files with 2 additions and 1 deletions

View File

@ -286,12 +286,13 @@
var redirectUri = opts.redirectUri; var redirectUri = opts.redirectUri;
var scope = opts.scope || directive.authn_scope; var scope = opts.scope || directive.authn_scope;
var clientId = opts.appId || opts.clientId; var clientId = opts.appId || opts.clientId || opts.clientUri;
var args = directive[type]; var args = directive[type];
var uri = args.url; var uri = args.url;
var state = core.utils.randomState(); var state = core.utils.randomState();
var params = { var params = {
debug: opts.debug || undefined debug: opts.debug || undefined
, client_uri: opts.client_uri || opts.clientUri || undefined
}; };
var loc; var loc;
var result; var result;