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.
Allow sign in with email #685
Closed
Description
Description
Sign in with email appears to authenticate successfully at first, but then I am not allowed to perform some functionality.
Steps to Reproduce
- Start signed out of GitHub
- Sign in using email
- Try to perform various actions
Expected behavior:
I can use GHfU successfully when signing in with my GitHub email address
Actual behavior:
I can do some actions successfully, but when I try to publish a repo I continue to see this:
Also, selecting Go to Profile
shows this:
Reproduces how often:
100%
Additional Information
This is what I see in the log
GitHub.Unity.TokenUsernameMismatchException: Exception of type 'GitHub.Unity.TokenUsernameMismatchException' was thrown.
at GitHub.Unity.ApiClient+<GetValidatedGitHubUser>c__asyncD.MoveNext () [0x00154] in C:\Users\Spade\Projects\GitHub\Unity\src\GitHub.Api\Application\ApiClient.cs:332
=======
at GitHub.Unity.ApiClient+<GetValidatedGitHubUser>c__asyncD.MoveNext() in C:\Users\Spade\Projects\GitHub\Unity\src\GitHub.Api\Application\ApiClient.cs:line 351
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.<OnCompletedInternal>b__17_1(System.Object state)
at GitHub.Unity.MainThreadSynchronizationContext+<Post>c__AnonStorey1.<>m__0() in C:\Users\Spade\Projects\GitHub\Unity\src\UnityExtension\Assets\Editor\GitHub.Unity\Threading\SingleThreadSynchronizationContext.cs:line 20
at UnityEditor.EditorApplication.Internal_CallDelayFunctions() in /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:line 136
180410-10:25:51.649 TRACE [32] <RepositoryManager> WatcherOnRepositoryChanged```