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

Add optional redirect from *.visualstudio.com to dev.azure.com/* #226

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kroeschl
Copy link
Contributor

@kroeschl kroeschl commented Jun 5, 2023

Microsoft recommends using dev.azure.com/{org} instead of {org}.visualstudio.com: https://learn.microsoft.com/en-us/azure/devops/extend/develop/work-with-urls

It would be nice to automatically redirect from {org}.visualstudio.com because switching between the two can force the user to re-authenticate on both sites, which is annoying.

@welcome
Copy link

welcome bot commented Jun 5, 2023

Thanks for opening this pull request! Please check out our contributing guidelines.

@kroeschl
Copy link
Contributor Author

Having run with this on my local system for a while, at least this implementation doesn't stop the connection soon enough to prevent having to re-authenticate with Azure. I'm not sure if/how we can run sooner though.

@kroeschl kroeschl marked this pull request as draft August 22, 2023 17:14
@@ -16,6 +16,7 @@
// @include https://*.visualstudio.com/*

// @run-at document-body
// @run-at document-start
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you specify two run-at statements? Does the 2nd one take priority?

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

Successfully merging this pull request may close these issues.

2 participants