-
Notifications
You must be signed in to change notification settings - Fork 281
Description
This is a follow up of #527 .
When using Visual Studio Code with GitHub Codespaces connected to Azure DevOps, the ADO Codespaces Auth Extension adds a helper script called ado-auth-helper in the user's home directory.
This ado-auth-helper script can be called to get an access token to Azure DevOps with the default scope by calling ~/ado-auth-helper get-access-token.
The script does some routing through VS Code to have it handle authentication (so users in GitHub Codespaces do not need to do device auth when using this extension).
The limitation of this script is it doesn't support tenant specific authentication (though it is configurable in the extension's settings).
Auto detecting this script and use in Codespace would make it easier on users since they would not have to configure the Azure CLI.