mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-06 19:12:28 +08:00
Merge branch 'development' of github.com:BookStackApp/BookStack into development
This commit is contained in:
commit
90c543064b
@ -165,6 +165,7 @@ class OidcProviderSettings
|
||||
{
|
||||
return array_filter($keys, function (array $key) {
|
||||
$alg = $key['alg'] ?? null;
|
||||
|
||||
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user