Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

fix: return 4xx instead of 5xx on invalid JWT #67

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Conversation

xav
Copy link
Contributor

@xav xav commented Sep 12, 2023

Description

Return a client error instead of a server one when an authorized request sends an invalid JWT.

How Has This Been Tested?

Added tests for this.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@xav xav linked an issue Sep 12, 2023 that may be closed by this pull request
@xav xav added this pull request to the merge queue Sep 12, 2023
Merged via the queue into main with commit ffd6bb3 Sep 12, 2023
7 checks passed
@xav xav deleted the 56-fix-5xx-errors branch September 12, 2023 08:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix 5xx errors
1 participant