Skip to content

Unable to use Interactive credential flow with remote-ssh vscode sessions #555

@abbottdev

Description

@abbottdev

If you use a Linux Remote-SSH session with vscode you are forced into using Device-code authentication flows which our organisation prevents for security reasons. We need interactive flows to be correctly used if the environment allows this.

If you install xdg-open ensure $NUGET_CREDENTIALPROVIDER_FORCE_CANSHOWDIALOG_TO=true and set $DISPLAY=false vscode will launch the appropriate browser window on the user's machine. (NB you can verify the shell script's existence when using Remote-SSH by inspecting the $BROWSER env var.

I've created an upstream issue to track this here: AzureAD/microsoft-authentication-library-for-dotnet#5246

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalSomething is wrong in one of our external dependencies.keepDon't close due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions