From 1cc3d16560d734c3a53107cc48f2d8b4ea355c70 Mon Sep 17 00:00:00 2001 From: Rossil <40714231+Rossil2012@users.noreply.github.com> Date: Mon, 30 Oct 2023 18:15:37 +0800 Subject: [PATCH] print oauth token for debug --- src/utils/pgwire/src/pg_server.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/pgwire/src/pg_server.rs b/src/utils/pgwire/src/pg_server.rs index c26bf57b6c0b3..e4def7482d26d 100644 --- a/src/utils/pgwire/src/pg_server.rs +++ b/src/utils/pgwire/src/pg_server.rs @@ -129,6 +129,7 @@ impl UserAuthenticator { } => encrypted_password == password, UserAuthenticator::OAuth => { // TODO: OAuth authentication happens here. + tracing::info!("OAuth authenticator gets: {}", String::from_utf8_lossy(password)); true } }