mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-07 03:22:26 +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) {
|
return array_filter($keys, function (array $key) {
|
||||||
$alg = $key['alg'] ?? null;
|
$alg = $key['alg'] ?? null;
|
||||||
|
|
||||||
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
|
return $key['kty'] === 'RSA' && $key['use'] === 'sig' && (is_null($alg) || $alg === 'RS256');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user