nextcloud / user_oidc

OIDC connect user backend for Nextcloud
GNU Affero General Public License v3.0
89 stars 36 forks source link

Undefined variable `$providerClientId` #968

Closed artonge closed 1 month ago

artonge commented 1 month ago

When selfencoded_bearer_validation_audience_check is set to false, then $providerClientId is never set, and the comparison fails here

https://github.com/nextcloud/user_oidc/blob/v6.1.0/lib/User/Validator/SelfEncodedValidator.php#L90-110

Introduced by https://github.com/nextcloud/user_oidc/issues/856