mirror of
https://github.com/pgmr3/synologySsoClientExamplePage.git
synced 2025-12-12 21:15:48 +01:00
24 lines
1.2 KiB
PHP
24 lines
1.2 KiB
PHP
<?php
|
||
// ------------------------------------------------------------------------------
|
||
// © Copyright (с) 2020
|
||
// Author: Dmitri Agababaev, d.agababaev@duncat.net
|
||
//
|
||
// Redistributions and use of source code, with or without modification, are
|
||
// permitted that retain the above copyright notice
|
||
//
|
||
// License: MIT
|
||
// ------------------------------------------------------------------------------
|
||
//
|
||
// © Copyright (с) 2023 License: GPLv3 https://www.gnu.org/licenses/gpl-3.0.txt
|
||
// Reinhard Fiebelkorn
|
||
// ------------------------------------------------------------------------------
|
||
|
||
define('APP_ID', 'eb3df56d6f3f11914eb6514c978346fX'); //Application ID in SSO server on Synology NAS with DSM
|
||
define('SSO_HOST', 'https://sso-yourdomain.com');// 'https://dsm.yourserverdomain.toplevel:5001'); //Synology NAS with DSM
|
||
define('LOCAL_HOST', 'https://yourpagedomain.com'); // Your server host
|
||
define('REDIRECT_URI', 'https://yourpagedomain.com'); // not not really used by SSO
|
||
|
||
define('SESSION_NAME', 'ServerTools'); // Name of session cookie on client browser
|
||
define('SESSION_COOKIE_LIFETIME', 90); // 86400); // Lifetime of session cookie on client browser in seconds
|
||
?>
|