Skip to content

Commit 5a78e5a

Browse files
committed
fixed cache key
1 parent 9a53716 commit 5a78e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Oidc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct(array $oidcSettings, $cacheHandler, $utils) {
5959
*/
6060
public function fetchOidcConfiguration(array $oidc): array
6161
{
62-
$cacheKey = "gluedOidcConfiguration:" . md5($this->config['discovery']);
62+
$cacheKey = "gluedOidcConfiguration_" . md5($this->config['discovery']);
6363

6464
// Attempt to retrieve cached discovery data
6565
$res = $this->cache->has($cacheKey)
@@ -95,7 +95,7 @@ public function fetchOidcConfiguration(array $oidc): array
9595
*/
9696
public function fetchOidcJwks(string $jwksUri): array
9797
{
98-
$cacheKey = "gluedOidcJwks:" . md5($this->config['discovery']);
98+
$cacheKey = "gluedOidcJwks_" . md5($this->config['discovery']);
9999

100100
// Attempt to retrieve cached JWKS data
101101
$jwks = $this->cache->has($cacheKey)

0 commit comments

Comments
 (0)