Skip to content

Misleading authentication error #528

Description

I've recently hit an issue when using an external token management authentication flow. After setting up the ServiceClient with the access token I get the error "The HTTP request was forbidden with client authentication scheme 'Anonymous'"

When I have investigated this and running Fiddler to validate what requests are actually being sent to the server, I can see the server actually responded with the more helpful error message:

{"error":{"code":"0x80095ffc","message":"Access to Dataverse API is restricted for this application Id : '<guid>'. Please contact your administrator for more information."}}

Is it possible for the client to expose this error message instead?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions