mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 17:32:56 +00:00
update endpoint
This commit is contained in:
@@ -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<'_>,
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user