Skip to content

VSCode Credential doesn't work #11452

Closed

Description

  • Package Name: @azure/identity
  • Package Version: 1.1.0
  • Operating system: Windows 10
  • nodejs
    • version:
  • browser
    • name/version:
  • typescript
    • version: 4.0.2
  • Is the bug related to documentation in

Describe the bug
When trying to use the VisualStudioCodeCredential in the @azure/identity pakcage, you get an error:

azure:core-http:info ServiceClient: using custom request policies
azure:identity:info VisualStudioCodeCredential =>
[Error: Cannot autolaunch D-Bus without X11 $DISPLAY]

Installed keytar as some online posts mentioned, didn't change the output

To Reproduce
Steps to reproduce the behavior:

  1. Create a new VisualStudioCodeCredential
  2. try to use the credential for anything, i.e. getting a token

Expected behavior
The operation should succeed

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
I am an ms internal engineer, feel free to reach out for more context/clarifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions