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