Skip to content

Instantly share code, notes, and snippets.

@james-world
Created October 31, 2014 11:57
Show Gist options
  • Select an option

  • Save james-world/22b727cbe67da361854b to your computer and use it in GitHub Desktop.

Select an option

Save james-world/22b727cbe67da361854b to your computer and use it in GitHub Desktop.
Repro for auth0-angular login dialog not closing
Auth0-angular Popup Login Hang Repro
{
"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"
}
}
<!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>
@james-world
Copy link
Copy Markdown
Author

In IE, the pop window hangs with the xxx.auth0.com callback url in the address bar.

@armiiller
Copy link
Copy Markdown

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