mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 07:32:14 +00:00
fix fallback
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# ZITADEL TypeScript with Turborepo and Changesets
|
# ZITADEL TypeScript with Turborepo
|
||||||
|
|
||||||
This repository contains all TypeScript and JavaScript packages and applications you need to create your own ZITADEL
|
This repository contains all TypeScript and JavaScript packages and applications you need to create your own ZITADEL
|
||||||
Login UI.
|
Login UI.
|
||||||
|
|||||||
@@ -36,8 +36,10 @@ import { unstable_cache } from "next/cache";
|
|||||||
import { PROVIDER_MAPPING } from "./idp";
|
import { PROVIDER_MAPPING } from "./idp";
|
||||||
|
|
||||||
const SESSION_LIFETIME_S = 3600; // TODO load from oidc settings
|
const SESSION_LIFETIME_S = 3600; // TODO load from oidc settings
|
||||||
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS =
|
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS = process.env
|
||||||
Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS) ?? 3600;
|
.CACHE_REVALIDATION_INTERVAL_IN_SECONDS
|
||||||
|
? Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS)
|
||||||
|
: 3600;
|
||||||
|
|
||||||
const transport = createServerTransport(
|
const transport = createServerTransport(
|
||||||
process.env.ZITADEL_SERVICE_USER_TOKEN!,
|
process.env.ZITADEL_SERVICE_USER_TOKEN!,
|
||||||
|
|||||||
Reference in New Issue
Block a user