]> BookStack Code Mirror - bookstack/blobdiff - app/Access/Oidc/OidcService.php
ExportFormatter: Add book description and check for empty book and chapter descriptio...
[bookstack] / app / Access / Oidc / OidcService.php
index 6bb326e4bdc24bcf6434ec678625fc987a5f1f0c..7c1760649b5bb5bfc8600cb38fe56fe98282df18 100644 (file)
@@ -253,7 +253,7 @@ class OidcService
             );
 
             try {
-                $response->validate($idToken->getClaim('sub'));
+                $response->validate($idToken->getClaim('sub'), $settings->clientId);
             } catch (OidcInvalidTokenException $exception) {
                 throw new OidcException("Userinfo endpoint response validation failed with error: {$exception->getMessage()}");
             }