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
Description
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.