mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 20:52:43 +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
|
||||
Login UI.
|
||||
|
||||
@@ -36,8 +36,10 @@ import { unstable_cache } from "next/cache";
|
||||
import { PROVIDER_MAPPING } from "./idp";
|
||||
|
||||
const SESSION_LIFETIME_S = 3600; // TODO load from oidc settings
|
||||
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS =
|
||||
Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS) ?? 3600;
|
||||
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS = process.env
|
||||
.CACHE_REVALIDATION_INTERVAL_IN_SECONDS
|
||||
? Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS)
|
||||
: 3600;
|
||||
|
||||
const transport = createServerTransport(
|
||||
process.env.ZITADEL_SERVICE_USER_TOKEN!,
|
||||
|
||||
Reference in New Issue
Block a user