]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e17cdab
)
Apply fixes from StyleCI
author
StyleCI Bot
<redacted>
Sun, 30 Jan 2022 16:44:19 +0000
(16:44 +0000)
committer
Dan Brown
<redacted>
Sun, 30 Jan 2022 16:44:51 +0000
(16:44 +0000)
app/Auth/Access/Oidc/OidcProviderSettings.php
patch
|
blob
|
history
diff --git
a/app/Auth/Access/Oidc/OidcProviderSettings.php
b/app/Auth/Access/Oidc/OidcProviderSettings.php
index 016d006d2c0af68d8751dcc5ef97b933c84dfa8a..d15705782721f0963cfc670060a7d7476b904fe0 100644
(file)
--- a/
app/Auth/Access/Oidc/OidcProviderSettings.php
+++ b/
app/Auth/Access/Oidc/OidcProviderSettings.php
@@
-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');
});
}
hide
Morty Proxy
This is a
proxified and sanitized
view of the page, visit
original site
.