From 6bcf2e4195f000194f11a37433caa7890663bd22 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 16 Mar 2017 00:25:19 +0200 Subject: [PATCH] auth: oauth2 - introspection lookup error should be internal failure Not the default, which is "password mismatch". --- src/auth/db-oauth2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth/db-oauth2.c b/src/auth/db-oauth2.c index f2382b929a..5c30700efc 100644 --- a/src/auth/db-oauth2.c +++ b/src/auth/db-oauth2.c @@ -524,6 +524,7 @@ db_oauth2_introspect_continue(struct oauth2_introspection_result *result, if (!result->success) { /* fail here */ + req->result = PASSDB_RESULT_INTERNAL_FAILURE; req->failed = TRUE; db_oauth2_callback(req, FALSE, result->error); return; -- 2.47.3