'Failed to decrypt configuration.']); exit; } // Decode the configuration and ensure globalOtpauthUrl is set $config = json_decode($decryptedContent, true); if (!isset($config['globalOtpauthUrl'])) { $config['globalOtpauthUrl'] = ""; } echo json_encode($config); } else { echo json_encode([ 'oidc' => [ 'providerUrl' => 'https://your-oidc-provider.com', 'clientId' => 'YOUR_CLIENT_ID', 'clientSecret' => 'YOUR_CLIENT_SECRET', 'redirectUri' => 'https://yourdomain.com/auth.php?oidc=callback' ], 'loginOptions' => [ 'disableFormLogin' => false, 'disableBasicAuth' => false, 'disableOIDCLogin' => false ], 'globalOtpauthUrl' => "" ]); } ?>