escape proxy for multitenant scenario, rename fcn

This commit is contained in:
Max Peintner
2025-01-29 10:44:26 +01:00
parent 04f9b47960
commit 68515bda7e
38 changed files with 101 additions and 99 deletions

View File

@@ -5,7 +5,7 @@ import { linkingSuccess } from "@/components/idps/pages/linking-success";
import { loginFailed } from "@/components/idps/pages/login-failed";
import { loginSuccess } from "@/components/idps/pages/login-success";
import { idpTypeToIdentityProviderType, PROVIDER_MAPPING } from "@/lib/idp";
import { getApiUrlOfHeaders } from "@/lib/service";
import { getServiceUrlFromHeaders } from "@/lib/service";
import {
addHuman,
addIDPLink,
@@ -40,7 +40,7 @@ export default async function Page(props: {
const { provider } = params;
const _headers = await headers();
const serviceUrl = getApiUrlOfHeaders(_headers);
const serviceUrl = getServiceUrlFromHeaders(_headers);
const branding = await getBrandingSettings({ serviceUrl, organization });