Skip to content

Add details to the JwtBearer error messages #8259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2019
Merged

Conversation

Tratcher
Copy link
Member

@Tratcher Tratcher commented Mar 6, 2019

#4679 Bearer allows you to include error details in the WwwAuthenticate response header. We didn't want to expose raw exception messages but we did want to provide some hint at what went wrong. Previously we used generic messages based on the exception type because no details were available. Now that the exceptions have some detailed properties we can include those in a well structured format.

@blowdart

@Tratcher Tratcher added this to the 3.0.0-preview4 milestone Mar 6, 2019
@Tratcher Tratcher self-assigned this Mar 6, 2019
@Tratcher Tratcher requested review from brentschmaltz and HaoK March 6, 2019 22:47
@Tratcher Tratcher added the area-auth Includes: Authn, Authz, OAuth, OIDC, Bearer label Mar 6, 2019
Copy link
Contributor

@Eilon Eilon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. And thank you for using the correct cultures!

@Tratcher Tratcher merged commit 5170c31 into master Mar 7, 2019
@Tratcher Tratcher deleted the tratcher/autherror branch March 7, 2019 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-auth Includes: Authn, Authz, OAuth, OIDC, Bearer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants