Skip to content

Conversation

@c-w
Copy link
Contributor

@c-w c-w commented Jan 16, 2023

When using the code authentication flow, a bad value currently crashes the library which leads to a HTTP 500 response bubbling up. This is inconsistent with the access token authentication flow which instead return a HTTP 400 response for a bad value.

This pull request fixes the inconsistency by returning a HTTP 400 response when the authentication code is rejected by the social provider.

@iMerica iMerica merged commit 62c1dc9 into iMerica:master Feb 21, 2023
@c-w c-w deleted the auth-code-error-handling branch February 21, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants