Git pull alwasy tries to authenticate with web even if autentication with token is supplied

I have authenticated with token option for git on studio. However, whenever I try to pull, the studio tries to authenticate with web again

image

If press cancel on the last screenshot, it pulls successfully, but it should not even be asking.

Hi @aeb-dev

Would you be able to list all steps taken to reach the issue?

  • Create a git repository

  • Clone the repository with command line

  • Create a project in that repository with Studio

  • Try to push

  • Authenticate with token option to repository
    image

  • Check whether everything is pushed

  • Try to pull

  • You will see that you are asked to authenticate again and will see this screen on the Studio
    image

Are you using github.com? Can you try the sign-in authentication instead of the token based?

It works like that, I am just reporting a bug.

Hi @aeb-dev

I’ve tried to reproduce these steps on the latest version of Studio but the issue did not reproduce (it pulled the project without an issue)
image

Could you let us know the version of your Studio?

This error occurred on latest preview version. Currently, I am not able use preview right now.

1 Like

We’ve been able to reproduce this and logged a bug report to fix it in future releases.

1 Like

Hi @aeb-dev

This should be fixed now in the latest 2022.2 Community Release.

1 Like