From 98f2e79e72fb50207dc3047814e1bf2b62f673e4 Mon Sep 17 00:00:00 2001 From: Tom Helmer Hansen Date: Wed, 12 Jun 2024 07:48:53 +0200 Subject: [PATCH] Increase TTL for WKS cache (#5) --- src/GsvAuth0Provider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GsvAuth0Provider.php b/src/GsvAuth0Provider.php index 8beaee4..24c98b8 100644 --- a/src/GsvAuth0Provider.php +++ b/src/GsvAuth0Provider.php @@ -24,6 +24,7 @@ public function __construct(?string $domain, ?string $audience) domain: $domain, audience: [$audience], tokenCache: resolve('cache.psr6'), + tokenCacheTtl: 3600, clientId: 'dummy', // Don't need a real value as we only validate jwt's clientSecret: 'dummy', // Don't need a real value as we only validate jwt's cookieSecret: 'dummy', // Don't need a real value as we only validate jwt's