commit 6c3dc16ae30bc98968b2d773e7ccf6844a7fc95e
parent 4c650e4e05ec591b4610b478158ef5efc910315d
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 19 Nov 2026 23:27:24 +0100
beekeeper: BEEKEEPER_OAUTH_CODE_INVALID is answered with 400
The token endpoint answers an unknown, expired or used authorization
code with 400 (invalid_grant), as RFC 6749 section 5.2 requires for
every error of that endpoint except invalid_client.
Assisted by LLM
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/beekeeper-error-codes/registry.rec b/beekeeper-error-codes/registry.rec
@@ -226,7 +226,7 @@ HttpStatus: 400
Value: 100603
Name: BEEKEEPER_OAUTH_CODE_INVALID
Description: The authorization code is unknown, expired or was already used.
-HttpStatus: 403
+HttpStatus: 400
Value: 100604
Name: BEEKEEPER_OAUTH_TOKEN_INVALID