Intellij Android Studio opens localhost page to login on github

Viewed 4078

I am using android studio version 4.2 beta 3 and while I am using the GUI to push/fetch the studio prompts to login on github while I have already set an account.

enter image description here

The strange this is that I can use git on terminal but not on GUI.

I select the first option and my browser navigates me to a website that says to authorize in Github, I press the button, login on Github and then I get the following localhost page which needs some unknown credentials.

enter image description here

Do you have any ideas on how to fix this issue?

Thanks

3 Answers

This actually turns out to be an Android Studio bug. See e.g. this and this reports

In the corresponding IntelliJ IDEA version it is working fine.

Log in using a token instead, as a workaround.

Unfortunately the issue still persists in android studios latest release but your workaround of Token works.

you have to Generate a new SSH key and adding it to the ssh-agent , you can find it there

Related