Skip to content

Commit 0967ace

Browse files
committed
chore: update config
1 parent 55d655d commit 0967ace

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

services/backend/oidc.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export async function handler(request: NextRequest) {
1919
'x-zitadel-forwarded',
2020
`host="${new URL(configuration.appUrl).host}"`,
2121
);
22+
headers.set('x-zitadel-public-host', new URL(configuration.appUrl).host);
23+
headers.set('x-zitadel-instance-host', zitadelUrl.replace('https://', ''));
2224
contentType && headers.set('content-type', contentType);
2325
authorization && headers.set('authorization', authorization);
2426

0 commit comments

Comments
 (0)