Skip to content

Set authority from VS Code settings #14808

@chlowell

Description

@chlowell

Users can configure VisualStudioCodeCredential's authority with the authority keyword argument, and this is necessary in all clouds save Public Cloud. This could instead be optional, because the credential could determine the correct authority from the user's VS Code settings by mapping the configured cloud name to an authority's URL. Other SDKs do this, for example in Java: https://github.com/Azure/azure-sdk-for-java/blob/d1c4f95452b289bb04ff749652bb41278832e4b0/sdk/identity/azure-identity/src/main/java/com/azure/identity/VisualStudioCodeCredential.java#L47

Metadata

Metadata

Assignees

No one assigned

    Labels

    Azure.IdentityClientThis issue points to a problem in the data-plane of the library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions