Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

OpenIdConnect with AAD does not return error_description #883

Closed
@dstrockis

Description

@dstrockis

If AAD gives an error during the auth pipeline, the middlware swallows up the error_description from AAD and doesn’t return it to the developer. It makes it pretty difficult to debug issues when talking to AAD.

You can repro by forgetting to include a client secret in the OIDC config, and letting the middleware attempted to redeem the auth code without a client secret. It will result in a 400 from AAD, but it's not clear from the middleware why it occurred.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions