kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs

commit 727ccdef0caf0d4cb1a35e2f2942e80f6d2eadd1
parent 975193e239437da95edba7e8c699dbc095f7e0be
Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt>
Date:   Fri, 28 Nov 2025 22:23:38 +0100

oauth2_gateway: fix /token db query

Diffstat:
Moauth2_gateway/src/db/authorization_codes.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oauth2_gateway/src/db/authorization_codes.rs b/oauth2_gateway/src/db/authorization_codes.rs @@ -100,7 +100,7 @@ pub async fn get_code_for_token_exchange( Ok(result.map(|row: sqlx::postgres::PgRow| { use sqlx::Row; CodeExchangeData { - client_id: row.get("code_id"), + client_id: row.get("client_id"), code_id: row.get("code_id"), was_already_used: row.get("was_already_used"), session_id: row.get("session_id"),