Skip to content

Conversation

mastercactapus
Copy link
Member

Description:
This PR resolves an issue where invalid integration keys would return validation errors resulting in a 400 Bad Request instead of 401 Unauthorized.

Which issue(s) this PR fixes:
Closes #2541

Describe any introduced API changes:
Properly formatted but invalid/deleted integration keys will now return a 401 status code, instead of 400.

Copy link
Contributor

@m17ch m17ch left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@KatieMSB KatieMSB self-requested a review August 16, 2022 18:48
@mastercactapus mastercactapus merged commit e0a75a7 into master Aug 16, 2022
@mastercactapus mastercactapus deleted the invalid-key-401 branch August 16, 2022 22:17
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.

intkeys: wrong response code for missing/invalid key
3 participants