Merge pull request #2300 from coreos-inc/openid-connect
OpenID Connect support and OAuth login refactoring
This commit is contained in:
commit
01ec22b362
36 changed files with 1623 additions and 983 deletions
|
@ -11,9 +11,10 @@
|
|||
function SignInCtrl($scope, $location, ExternalLoginService, Features) {
|
||||
$scope.redirectUrl = '/';
|
||||
|
||||
var singleUrl = ExternalLoginService.getSingleSigninUrl();
|
||||
if (singleUrl) {
|
||||
document.location = singleUrl;
|
||||
}
|
||||
ExternalLoginService.getSingleSigninUrl(function(singleUrl) {
|
||||
if (singleUrl) {
|
||||
document.location = singleUrl;
|
||||
}
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
|
Reference in a new issue