update endpoint

This commit is contained in:
Conrad Ludgate
2023-11-16 19:23:26 +01:00
parent ea43f60763
commit 0c8bc58d1b
2 changed files with 2 additions and 1 deletions

View File

@@ -266,6 +266,7 @@ impl super::Api for Api {
}
/// Get the password for the RLS user
#[tracing::instrument(skip_all)]
async fn ensure_row_level(
&self,
extra: &ConsoleReqExtra<'_>,

View File

@@ -158,7 +158,7 @@ async fn get_conn_info(
let username = if let Some(auth) = authorization {
// TODO: introduce control plane API to fetch this
let jwks_url = match sni_hostname {
"ep-winter-pond-71436068.cloud.krypton.aws.neon.build" => {
"ep-flat-night-23370355.cloud.krypton.aws.neon.build" => {
"https://adapted-gorilla-88.clerk.accounts.dev/.well-known/jwks.json"
}
_ => anyhow::bail!("jwt auth not supported"),