Merge branch 'master' of git.daplie.com:OAuth3/org.oauth3 into daplie-installer-css-overrides

This commit is contained in:
Jon Lambson 2017-07-07 10:51:30 -06:00
commit 21cc9df926
1 changed files with 7 additions and 0 deletions

View File

@ -72,6 +72,9 @@ $(function () {
window.alert("'redirect_uri' must exist and should point to '" + clientParams.redirect_uri + "'"); window.alert("'redirect_uri' must exist and should point to '" + clientParams.redirect_uri + "'");
console.error("'redirect_uri' must exist and should point to '" + clientParams.redirect_uri + "'"); console.error("'redirect_uri' must exist and should point to '" + clientParams.redirect_uri + "'");
} }
if (clientParams.subject) {
console.log('clientParams.subject: ', clientParams.subject);
}
clientParams.referrer = window.document.referrer; clientParams.referrer = window.document.referrer;
} }
@ -397,6 +400,10 @@ $(function () {
+ '&error_uri=' + encodeURIComponent('https://oauth3.org/docs/errors/#E_IFRAME_DENIED'); + '&error_uri=' + encodeURIComponent('https://oauth3.org/docs/errors/#E_IFRAME_DENIED');
location.href = callbackUrl; location.href = callbackUrl;
} }
if (clientParams.subject) {
$('.js-oauth3-email').val(clientParams.subject);
$('.js-authn-show').prop('disabled', false);
}
$('.js-userid-container').show(); $('.js-userid-container').show();
}).then(function () { }).then(function () {
//$('body').addClass('in'); //$('body').addClass('in');