Created
October 31, 2014 11:57
-
-
Save james-world/22b727cbe67da361854b to your computer and use it in GitHub Desktop.
Repro for auth0-angular login dialog not closing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Auth0-angular Popup Login Hang Repro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "auth0issue", | |
"version": "0.0.0", | |
"description": "repro for login dialog hang on IE 11", | |
"license": "MIT", | |
"private": true, | |
"ignore": [ | |
"**/.*", | |
"node_modules", | |
"bower_components", | |
"test", | |
"tests" | |
], | |
"dependencies": { | |
"auth0-angular": "~3.0.5" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app="testApp"> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body ng-controller="Main"> | |
<button ng-click="signin()">Sign In</button> | |
<script type="text/javascript" src="bower_components/angular/angular.min.js"></script> | |
<script type="text/javascript" src="bower_components/auth0-lock/build/auth0-lock.min.js"></script> | |
<script type="text/javascript" src="bower_components/auth0-angular/build/auth0-angular.min.js"></script> | |
<script type="text/javascript"> | |
var testApp = angular.module('testApp', ['auth0']); | |
testApp.config([ | |
"authProvider", | |
function(authProvider) { | |
authProvider.init({ | |
/* SUPPLY INITIALIZATION INFO HERE */ | |
/* DON'T FORGET TO CONFIGURE CALLBACK URL IN DASHBOARD */ | |
domain: "", | |
clientID: "" | |
}) | |
} | |
]); | |
testApp.controller('Main', function($scope, auth) { | |
$scope.signin = function() { | |
auth.signin({}, function(id_token) { | |
console.log(id_token); | |
}) | |
}; | |
}); | |
</script> | |
</body> | |
</html> |
Did you get any support or resolution to this?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In IE, the pop window hangs with the xxx.auth0.com callback url in the address bar.