fix client_uri in authorization_dialog
This commit is contained in:
parent
fb198ab8f0
commit
3dcc52c428
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue