release (v1.8.11): fix(oidc): always send PKCE (S256) and treat empty secret as public client

This commit is contained in:
Ryan
2025-11-08 13:53:11 -05:00
committed by GitHub
parent c9a99506d7
commit 8f03cc7456
3 changed files with 32 additions and 3 deletions

View File

@@ -33,6 +33,10 @@ define('ONLYOFFICE_DOCS_ORIGIN', 'http://192.168.1.61'); // your Document Server
define('ONLYOFFICE_DEBUG', true);
*/
if (!defined('OIDC_TOKEN_ENDPOINT_AUTH_METHOD')) {
define('OIDC_TOKEN_ENDPOINT_AUTH_METHOD', 'client_secret_basic'); // default
}
// Encryption helpers
function encryptData($data, $encryptionKey)
{