return promise from auth
This commit is contained in:
parent
0ad5017ac9
commit
79ae23c758
|
@ -87,7 +87,7 @@ app.controller('SignInController', [
|
|||
vm.auth = function () {
|
||||
var subject = vm.currentSubject;
|
||||
var issuer = vm.issuerName;
|
||||
vm.oauth3.authenticate({
|
||||
return vm.oauth3.authenticate({
|
||||
subject: subject
|
||||
, scope: [ 'domains@oauth3.org', 'domains', 'dns@oauth3.org', 'dns', 'www@daplie.com' ]
|
||||
}).then(function (session) {
|
||||
|
|
Loading…
Reference in New Issue