Skip to content
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

handle bad form data on token (and other) endpoints #958

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

brockallen
Copy link
Member

When an invalid form-url-encoded payload is submitted, IdentityServer throws and returns a 500 status code. It's more appropriate to return a 400 status code.

Fixes: DuendeSoftware/Support#110

@brockallen brockallen added the bug Something isn't working label Jun 30, 2022
@brockallen brockallen merged commit 4f30138 into releases/6.1.x Jul 12, 2022
@brockallen brockallen deleted the brock/invalid_form_post_value branch July 12, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants