mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-16 07:02:06 +00:00
escape proxy for multitenant scenario, rename fcn
This commit is contained in:
@@ -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 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user