You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Microsoft OpenID configuration cache serialization
getOpenIdConfiguration() caches json_decode output as stdClass. On
deserialization from file/database cache drivers, PHP returns
__PHP_Incomplete_Class, breaking subsequent login attempts.
Changes:
- Return associative arrays from json_decode instead of stdClass
- Update all property access to array syntax
- Bump cache keys to openid-v2 and jwks-v2 so stale stdClass entries
from prior versions are never read
- Update property type from mixed to ?array
- Update docblock @return from mixed to array<string, mixed>
if (class_exists(\Illuminate\Support\Facades\Cache::class)) {
364
364
$this->openIdConfiguration = \Illuminate\Support\Facades\Cache::remember($cacheKey, self::OPENID_CONFIGURATION_CACHE_TTL_SECONDS, function () use ($discovery) {
0 commit comments