Skip to content

Better handling of AAD errors #240

@nfx

Description

@nfx
Error: failed request: inner token: oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"invalid_client",
"error_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request 
is the client secret value, not the client secret ID, for a secret added to app 'XXX'.\r\n
Trace ID: YYY\r\nCorrelation ID: ZZZ\r\n
Timestamp: 2022-12-09 15:04:13Z","error_codes":[7000215],"timestamp":"2022-12-09 15:04:13Z","trace_id":"XXX",
"correlation_id":"XXX","error_uri":"https://login.microsoftonline.com/error?code=7000215"}

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