{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Identity/issues/1758","repository_url":"https://api.github.com/repos/aspnet/Identity","labels_url":"https://api.github.com/repos/aspnet/Identity/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Identity/issues/1758/comments","events_url":"https://api.github.com/repos/aspnet/Identity/issues/1758/events","html_url":"https://github.com/aspnet/Identity/issues/1758","id":314651258,"node_id":"MDU6SXNzdWUzMTQ2NTEyNTg=","number":1758,"title":"AuthenticationMethod for 2FA","user":{"login":"vladimirlapacek","id":4097529,"node_id":"MDQ6VXNlcjQwOTc1Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/4097529?v=4","gravatar_id":"","url":"https://api.github.com/users/vladimirlapacek","html_url":"https://github.com/vladimirlapacek","followers_url":"https://api.github.com/users/vladimirlapacek/followers","following_url":"https://api.github.com/users/vladimirlapacek/following{/other_user}","gists_url":"https://api.github.com/users/vladimirlapacek/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirlapacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirlapacek/subscriptions","organizations_url":"https://api.github.com/users/vladimirlapacek/orgs","repos_url":"https://api.github.com/users/vladimirlapacek/repos","events_url":"https://api.github.com/users/vladimirlapacek/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirlapacek/received_events","type":"User","site_admin":false},"labels":[{"id":78495342,"node_id":"MDU6TGFiZWw3ODQ5NTM0Mg==","url":"https://api.github.com/repos/aspnet/Identity/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"HaoK","id":6537861,"node_id":"MDQ6VXNlcjY1Mzc4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6537861?v=4","gravatar_id":"","url":"https://api.github.com/users/HaoK","html_url":"https://github.com/HaoK","followers_url":"https://api.github.com/users/HaoK/followers","following_url":"https://api.github.com/users/HaoK/following{/other_user}","gists_url":"https://api.github.com/users/HaoK/gists{/gist_id}","starred_url":"https://api.github.com/users/HaoK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaoK/subscriptions","organizations_url":"https://api.github.com/users/HaoK/orgs","repos_url":"https://api.github.com/users/HaoK/repos","events_url":"https://api.github.com/users/HaoK/events{/privacy}","received_events_url":"https://api.github.com/users/HaoK/received_events","type":"User","site_admin":false},"assignees":[{"login":"HaoK","id":6537861,"node_id":"MDQ6VXNlcjY1Mzc4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6537861?v=4","gravatar_id":"","url":"https://api.github.com/users/HaoK","html_url":"https://github.com/HaoK","followers_url":"https://api.github.com/users/HaoK/followers","following_url":"https://api.github.com/users/HaoK/following{/other_user}","gists_url":"https://api.github.com/users/HaoK/gists{/gist_id}","starred_url":"https://api.github.com/users/HaoK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaoK/subscriptions","organizations_url":"https://api.github.com/users/HaoK/orgs","repos_url":"https://api.github.com/users/HaoK/repos","events_url":"https://api.github.com/users/HaoK/events{/privacy}","received_events_url":"https://api.github.com/users/HaoK/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnet/Identity/milestones/36","html_url":"https://github.com/aspnet/Identity/milestone/36","labels_url":"https://api.github.com/repos/aspnet/Identity/milestones/36/labels","id":3537670,"node_id":"MDk6TWlsZXN0b25lMzUzNzY3MA==","number":36,"title":"2.2.0-preview2","description":null,"creator":{"login":"danroth27","id":1874516,"node_id":"MDQ6VXNlcjE4NzQ1MTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1874516?v=4","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":3,"state":"open","created_at":"2018-07-31T22:53:41Z","updated_at":"2018-08-17T22:52:04Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-04-16T13:28:57Z","updated_at":"2018-08-24T00:00:10Z","closed_at":null,"author_association":"NONE","body":"I wonder if the the `SignInManager.DoTwoFactorSignInAsync` should be adding an explicit `AuthenticationMethod` to the `SignInMAnager.SignInAsync` call to indicate that the login used 2FA.\r\n\r\nCurrently, it is difficult for an application using aspnet Identity to determine, whether 2FA was used during the sign in. The `amr` claim contains only `password`, regardless of whether the login was 1FA or 2FA."},"comment":{"url":"https://api.github.com/repos/aspnet/Identity/issues/comments/415609671","html_url":"https://github.com/aspnet/Identity/issues/1758#issuecomment-415609671","issue_url":"https://api.github.com/repos/aspnet/Identity/issues/1758","id":415609671,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTYwOTY3MQ==","user":{"login":"HaoK","id":6537861,"node_id":"MDQ6VXNlcjY1Mzc4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/6537861?v=4","gravatar_id":"","url":"https://api.github.com/users/HaoK","html_url":"https://github.com/HaoK","followers_url":"https://api.github.com/users/HaoK/followers","following_url":"https://api.github.com/users/HaoK/following{/other_user}","gists_url":"https://api.github.com/users/HaoK/gists{/gist_id}","starred_url":"https://api.github.com/users/HaoK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaoK/subscriptions","organizations_url":"https://api.github.com/users/HaoK/orgs","repos_url":"https://api.github.com/users/HaoK/repos","events_url":"https://api.github.com/users/HaoK/events{/privacy}","received_events_url":"https://api.github.com/users/HaoK/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T00:00:10Z","updated_at":"2018-08-24T00:00:10Z","author_association":"MEMBER","body":"I'd imagine if we want to add the amr claim we should do it in a coherent way"}}
{"actor":{"display_login":"HaoK"}}