Skip to content

Commit

Permalink
print oauth token for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossil2012 committed Oct 30, 2023
1 parent 5bd0ef7 commit 1cc3d16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/pgwire/src/pg_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 1cc3d16

Please sign in to comment.