Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github auth failure everytine #1383

Closed
emmanuelmakana opened this issue Feb 7, 2021 · 2 comments
Closed

Github auth failure everytine #1383

emmanuelmakana opened this issue Feb 7, 2021 · 2 comments

Comments

@emmanuelmakana
Copy link

I cant sign in with github for the codet membership. Is this by default?

@sulco
Copy link
Member

sulco commented Feb 8, 2021

Hi @emmanuelmakana, can you provide some more details? Do you see any error screen or errors in the console?
(This might be a duplicate of #1369)

@purplem1lk
Copy link
Contributor

Thank you for your patience - We are unable to provide assistance without further information about the issue you are seeing and will be closing this accordingly. Here is a reply from one of the StackBlitz devs on #1402, in case your issue applies to these conditions:

So when this happens, it's likely that it's because of an email or username collision.

So what does this mean?
It happens if for instance, someone creates two GitHub accounts with the same email address. So account A and account B have the same email address. Someone signs in with account A at StackBlitz. Later that person signs in with account B, then we have a collision.

It can also happen with a username. If account A has the username Foo, signs in at StackBlitz. Then account A gets renamed to FooBar and a second account B is being created with username Foo. If account B signs in, we know have a username collision because that username is taken by someone else.

How to resolve?
If it's an email collision, you have two options

Update email at Account B to have a +github added or something so the email is different from Account A. Update email at Account A to something else, sign in with Account A at StackBlitz so the information in our database gets updated. Afterward, sign in with Account B and now it should work.

If it's a username collision, it probably depends. If some random person once was in possession of your current GitHub username and signed in at StackBlitz, we will have to fix it manually on our side. If you are in possession of both GitHub accounts, it's basically the same as solution 2 of the email collision flow. Sign in with Account A so the info gets updated on our side, then sign in with account B and it should work.

If your issue persists, feel free to tag me or ask to reopen this issue with screenshots of the error. Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants