Skip to content

SharedTokenCacheCredential.get_token() should raise ValueError  #11553

Closed

Description

Today it raises ClientAuthenticationError because the method is decorated with wrap_exceptions. The purpose of that decorator is to prevent leaking exceptions from msal. This can be achieved in a more focused manner, allowing the method to raise the more appropriate ValueError when called with no scopes.

Activity

  1. added
    Client
    on May 20, 2020
  2. locked and limited conversation to collaborators on Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Azure.IdentityClient

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions