Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Login failed when two-factor authentication is enabled #96

@shiena

Description

@shiena

OS: Windows10
Unity: 5.6.0f3
GitHub for Unity: 0.13.0.0

github-unity.log

170705-00:36:54  INFO [ 1] <Global>                            Initializing GitHub for Unity version 0.13.0.0
170705-00:38:21  INFO [ 1] <LoginManager>                      Login Username:shiena
170705-00:38:23  WARN [ 1] <LoginManager>                      Login Exception
An error occurred while sending the request
  at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x00000] in <filename unknown>:0 
   at GitHub.Unity.LogFacade.Warning(System.Exception ex, System.String message) in D:\code\github\Unity\src\GitHub.Logging\LogFacade.cs:line 120
   at GitHub.Unity.LoginManager+<Login>c__async0.MoveNext() in D:\code\github\Unity\src\GitHub.Api\Authentication\LoginManager.cs:line 124
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.InvokeMoveNext(System.Object stateMachine)
   at System.Security.SecurityContext.Run(System.Security.SecurityContext securityContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Security/SecurityContext.cs:line 150
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Threading/ExecutionContext.cs:line 150
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run()
   at System.Runtime.CompilerServices.TaskAwaiter+<>c__DisplayClassa.<OnCompletedInternal>b__1(System.Object state)
   at GitHub.Unity.MainThreadSynchronizationContext+<Post>c__AnonStorey1.<>m__0() in D:\code\github\Unity\src\UnityExtension\Assets\Editor\GitHub.Unity\Logging\UnityLogAdapter.cs:line 22
   at UnityEditor.EditorApplication.Internal_CallDelayFunctions() in C:\buildslave\unity\build\Editor\Mono\EditorApplication.cs:line 118

The last security history at that time is user.two_factor_requested

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions