]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
auth: mech-oauth2 - Rework error handling
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 20 Nov 2023 15:53:05 +0000 (16:53 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 2 Sep 2025 05:25:53 +0000 (05:25 +0000)
commit91417ad42cf9612f48355c76f31b0c89cb947209
tree787eb9efbf47b2b441d2d5048fce911e557ec72d
parentb74c790b76b0adfdc1bd34960136ecf29ff8bef0
auth: mech-oauth2 - Rework error handling

Treat passdb errors as "invalid_token" and treat request decoding problems as
"invalid_request" status, which makes more sense. Also simplify the overall
structure.
src/auth/mech-oauth2.c