ankitbko / vscode-pull-request-azdo

Azure Devops Pull Requests for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ankitbko.vscode-pull-request-azdo
MIT License
64 stars 23 forks source link

Sign In button does nothing #46

Open djbelknapdbs opened 3 years ago

djbelknapdbs commented 3 years ago

Steps to Reproduce:

  1. Install VS Code (in the user directory if that matters - no admin)
  2. Install this extension
  3. Restart VS Code
  4. Open the extension tab - get the message "You have not yet signed in with Azure Devops"
  5. Click the Sign In button - nothing happens

I've verified I don't have the github version of the extension installed so there should be no interference there. My git is authenticated with Azure Devops, I believe through credential manager? Glad to provide any more information that might help.

djbelknapdbs commented 3 years ago

My bad - I didn't get the right values in the org URL and project settings. Once I got that corrected, I got authenticated.

Might be good to have an example of what the Org URL and project name are in the setup. If you're working from a repo url like: https://dev.azure.com/ABC_Corp/MyProjectName/_git/my-repo

org URL is: https://dev.azure.com/ABC_Corp/

Project name is: MyProjectName

emb03 commented 2 years ago

This did not work for me but thanks for posting

cforce commented 2 years ago

same here .. i click on the button and nothing happens? How to login .. i am not asked to configure anything

Crux-One commented 2 years ago

If I may add to that, modifying settings.json as shown below would make the button work for me. Hope this helps.

{
    "azdoPullRequests.orgUrl": "https://<org_name>.visualstudio.com",
    "azdoPullRequests.projectName": "<project_name>"
}
MattFowler79 commented 1 month ago

My bad - I didn't get the right values in the org URL and project settings. Once I got that corrected, I got authenticated.

Might be good to have an example of what the Org URL and project name are in the setup. If you're working from a repo url like: https://dev.azure.com/ABC_Corp/MyProjectName/_git/my-repo

org URL is: https://dev.azure.com/ABC_Corp/

Project name is: MyProjectName

This worked for me. Had to restart VS Code to make it work, however.