zitadel.ts adaptations

This commit is contained in:
Max Peintner
2025-01-29 15:47:31 +01:00
parent dedbed014a
commit 41bafc0d41
42 changed files with 290 additions and 94 deletions

View File

@@ -30,7 +30,7 @@ export default async function Page(props: {
const { loginName, authRequestId, organization, sessionId } = searchParams;
const _headers = await headers();
const serviceUrl = getServiceUrlFromHeaders(_headers);
const { serviceUrl, serviceRegion } = getServiceUrlFromHeaders(_headers);
const sessionWithData = sessionId
? await loadSessionById(serviceUrl, sessionId, organization)