mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
feat(proxy): emit JWT auth method and JWT issuer in parquet logs (#9971)
Fix the HTTP AuthMethod to accomodate the JWT authorization method. Introduces the JWT issuer as an additional field in the parquet logs
This commit is contained in:
committed by
Ivan Efremov
parent
a0cd64c4d3
commit
32ba9811f9
@@ -139,9 +139,6 @@ fn get_conn_info(
|
||||
headers: &HeaderMap,
|
||||
tls: Option<&TlsConfig>,
|
||||
) -> Result<ConnInfoWithAuth, ConnInfoError> {
|
||||
// HTTP only uses cleartext (for now and likely always)
|
||||
ctx.set_auth_method(crate::context::AuthMethod::Cleartext);
|
||||
|
||||
let connection_string = headers
|
||||
.get(&CONN_STRING)
|
||||
.ok_or(ConnInfoError::InvalidHeader(&CONN_STRING))?
|
||||
|
||||
Reference in New Issue
Block a user