Merge branch 'master' of git.daplie.com:OAuth3/oauth3.js

This commit is contained in:
Drew Warren 2017-07-07 11:45:43 -06:00
commit 3b34173ac8
2 changed files with 4 additions and 0 deletions

View File

@ -302,6 +302,8 @@
};
var result;
console.log('implicitGrant opts.subject: ', opts.subject);
params.response_type = responseType;
if (scope) {
params.scope = OAUTH3.scope.stringify(scope);
@ -713,6 +715,7 @@
, client_id: opts.client_id || opts.client_uri
, client_uri: opts.client_uri || opts.client_id
, scope: opts.scope
, subject: opts.subject
, state: opts._state || undefined
, debug: opts.debug
}

View File

@ -422,6 +422,7 @@ OAUTH3.authz.redirectWithToken = function (providerUri, session, clientParams, s
, response_type: clientParams.response_type
, referrer: clientParams.referrer
, session: session
, subject: clientParams.subject
, debug: clientParams.debug
}).then(function (results) {