When using Azure Identity, an invalid client secret makes the error handling return a statusCode of -1

Open
#1,376 2 comments 0 reactions 1 assignee View on GitHub

@koros is already working on this.

Since Jul 25, 2023.

Assessment

This issue has not been assessed yet.

Description

Based on this draft PR #1368, invalid client secret fails our error handling and returns -1 as the status code. We should catch this error earlier in the process and return the error from the service (including the 4xx).

Dominant language
TypeScript
Stars
833
Forks
240
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-sdk-javascript

All issues in microsoftgraph/msgraph-sdk-javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.