{"action":"opened","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/751","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/751/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/751/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-js/issues/751/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/751","id":324233631,"number":751,"title":"ADAL SPFx getCachedUser is always null","user":{"login":"2P2-Anthony","id":6393228,"avatar_url":"https://avatars0.githubusercontent.com/u/6393228?v=4","gravatar_id":"","url":"https://api.github.com/users/2P2-Anthony","html_url":"https://github.com/2P2-Anthony","followers_url":"https://api.github.com/users/2P2-Anthony/followers","following_url":"https://api.github.com/users/2P2-Anthony/following{/other_user}","gists_url":"https://api.github.com/users/2P2-Anthony/gists{/gist_id}","starred_url":"https://api.github.com/users/2P2-Anthony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2P2-Anthony/subscriptions","organizations_url":"https://api.github.com/users/2P2-Anthony/orgs","repos_url":"https://api.github.com/users/2P2-Anthony/repos","events_url":"https://api.github.com/users/2P2-Anthony/events{/privacy}","received_events_url":"https://api.github.com/users/2P2-Anthony/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T00:49:53Z","updated_at":"2018-05-18T00:49:53Z","closed_at":null,"author_association":"NONE","body":"We have an SPFx web part working pretty well, but even if the user is already logged into Office 365 when they hit the page containing the SPFx web part - the getCachedUser object is always null. This forces a redirect for login, which auto-redirects back to our application page immediately.\r\n\r\nOur original PoC with straight JavaScript never did this, but the SPFx web part always redirects on first hit.\r\n\r\nHas anyone seen and fixed this behaviour? What should we be looking for in our Authentication wrapper?\r\n\r\nhttps://stackoverflow.com/questions/50146519/adal-spfx-getcacheduser-is-always-null"}}
{"actor":{"display_login":"2P2-Anthony"}}