]> BookStack Code Mirror - bookstack/commit
Fixed OIDC handling when no JWKS 'use' prop exists
authorDan Brown <redacted>
Wed, 23 Nov 2022 11:50:59 +0000 (11:50 +0000)
committerDan Brown <redacted>
Wed, 23 Nov 2022 11:50:59 +0000 (11:50 +0000)
commite20c944350c78f33c1ed0c34db8fde6a8a639b3d
tree2608a63acc25e281be35286f4b355b30ddcee5c2
parent85b7b10c016ba7036309b598fc5b4d23c6f95fdc
Fixed OIDC handling when no JWKS 'use' prop exists

Now assume, based on OIDC discovery spec, that keys without 'use' are
'sig' keys. Should not affect existing use-cases since existance of such
keys would have throw exceptions in prev. versions of bookstack.

For #3869
app/Auth/Access/Oidc/OidcJwtSigningKey.php
app/Auth/Access/Oidc/OidcProviderSettings.php
app/Auth/Access/Oidc/OidcService.php
tests/Auth/OidcTest.php