From c037994d29b81efbc1f70789e5772ba07c70d9d8 Mon Sep 17 00:00:00 2001 From: Scott Trinh Date: Fri, 17 May 2024 10:16:59 -0400 Subject: [PATCH] Keep server port in base URL for redirect_uri Providers want an _exact_ match and we send the redirect_uri with the port when we make our authorize request to the IdP. --- shared/studio/tabs/auth/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/shared/studio/tabs/auth/index.tsx b/shared/studio/tabs/auth/index.tsx index 9b6230e6..c542d358 100644 --- a/shared/studio/tabs/auth/index.tsx +++ b/shared/studio/tabs/auth/index.tsx @@ -142,9 +142,6 @@ const AuthUrls = observer(function AuthUrls({ const databaseState = useDatabaseState(); const url = new URL(instanceState.serverUrl); - if (url.hostname.endsWith(".edgedb.cloud")) { - url.port = ""; - } url.pathname = `db/${databaseState.name}/ext/auth`; const baseUrl = url.toString();