{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/216","repository_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/216/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/216/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/216","id":126155904,"number":216,"title":"Refresh token infinite loop.","user":{"login":"estene","id":1135461,"avatar_url":"https://avatars.githubusercontent.com/u/1135461?v=3","gravatar_id":"","url":"https://api.github.com/users/estene","html_url":"https://github.com/estene","followers_url":"https://api.github.com/users/estene/followers","following_url":"https://api.github.com/users/estene/following{/other_user}","gists_url":"https://api.github.com/users/estene/gists{/gist_id}","starred_url":"https://api.github.com/users/estene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estene/subscriptions","organizations_url":"https://api.github.com/users/estene/orgs","repos_url":"https://api.github.com/users/estene/repos","events_url":"https://api.github.com/users/estene/events{/privacy}","received_events_url":"https://api.github.com/users/estene/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/labels/P1","name":"P1","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"tushargupta51","id":803796,"avatar_url":"https://avatars.githubusercontent.com/u/803796?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargupta51","html_url":"https://github.com/tushargupta51","followers_url":"https://api.github.com/users/tushargupta51/followers","following_url":"https://api.github.com/users/tushargupta51/following{/other_user}","gists_url":"https://api.github.com/users/tushargupta51/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargupta51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargupta51/subscriptions","organizations_url":"https://api.github.com/users/tushargupta51/orgs","repos_url":"https://api.github.com/users/tushargupta51/repos","events_url":"https://api.github.com/users/tushargupta51/events{/privacy}","received_events_url":"https://api.github.com/users/tushargupta51/received_events","type":"User","site_admin":false},"assignees":[{"login":"tushargupta51","id":803796,"avatar_url":"https://avatars.githubusercontent.com/u/803796?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargupta51","html_url":"https://github.com/tushargupta51","followers_url":"https://api.github.com/users/tushargupta51/followers","following_url":"https://api.github.com/users/tushargupta51/following{/other_user}","gists_url":"https://api.github.com/users/tushargupta51/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargupta51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargupta51/subscriptions","organizations_url":"https://api.github.com/users/tushargupta51/orgs","repos_url":"https://api.github.com/users/tushargupta51/repos","events_url":"https://api.github.com/users/tushargupta51/events{/privacy}","received_events_url":"https://api.github.com/users/tushargupta51/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/milestones/6","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/milestones/1.0.10","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/milestones/6/labels","id":1734818,"number":6,"title":"1.0.10","description":"","creator":{"login":"tushargupta51","id":803796,"avatar_url":"https://avatars.githubusercontent.com/u/803796?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargupta51","html_url":"https://github.com/tushargupta51","followers_url":"https://api.github.com/users/tushargupta51/followers","following_url":"https://api.github.com/users/tushargupta51/following{/other_user}","gists_url":"https://api.github.com/users/tushargupta51/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargupta51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargupta51/subscriptions","organizations_url":"https://api.github.com/users/tushargupta51/orgs","repos_url":"https://api.github.com/users/tushargupta51/repos","events_url":"https://api.github.com/users/tushargupta51/events{/privacy}","received_events_url":"https://api.github.com/users/tushargupta51/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"closed","created_at":"2016-04-27T19:01:36Z","updated_at":"2016-06-08T07:37:31Z","due_on":"2016-05-09T07:00:00Z","closed_at":"2016-06-08T07:37:31Z"},"comments":25,"created_at":"2016-01-12T11:13:18Z","updated_at":"2016-08-28T18:44:13Z","closed_at":"2016-05-16T05:07:21Z","body":"Hi! I am having a similar problem as to some other issues, though not exactly the same. Running 1.0.7\r\n\r\nWhen the adal.expiraration.key expires it attempts to refresh the token. When this happens we are caught in an infinite loop. The only error I can see is : \"Nonce is not same as ...\" and it constantly changes these values.\r\n\r\nAttempting to clearCache() and calling signIn() after seems to work around this issue. Any idea what might be wrong?"},"comment":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/comments/242991709","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/216#issuecomment-242991709","issue_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/216","id":242991709,"user":{"login":"spzSource","id":2921990,"avatar_url":"https://avatars.githubusercontent.com/u/2921990?v=3","gravatar_id":"","url":"https://api.github.com/users/spzSource","html_url":"https://github.com/spzSource","followers_url":"https://api.github.com/users/spzSource/followers","following_url":"https://api.github.com/users/spzSource/following{/other_user}","gists_url":"https://api.github.com/users/spzSource/gists{/gist_id}","starred_url":"https://api.github.com/users/spzSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spzSource/subscriptions","organizations_url":"https://api.github.com/users/spzSource/orgs","repos_url":"https://api.github.com/users/spzSource/repos","events_url":"https://api.github.com/users/spzSource/events{/privacy}","received_events_url":"https://api.github.com/users/spzSource/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T18:44:13Z","updated_at":"2016-08-28T18:44:13Z","body":"@tushargupta51 \r\nI have found another case, which is causes infinite looping for token refresh.\r\nWhen we change local time to 3 or more hour ahead, iframe retrieves a new token, which is already expired in point of view our local time.\r\n\r\nI don't think this is a frequent case... But it would be great to handle such situation: throw an error and break the loop for token refresh.\r\n\r\nWhat do you think?"}}
{"actor":{"display_login":"spzSource"}}