mirror of
https://github.com/pgmr3/synologySsoClientExamplePage.git
synced 2025-12-13 13:35:49 +01:00
first commit
This commit is contained in:
23
config.php
Normal file
23
config.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?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', 'eb3df56d6f3f11914eb6514c978346f1'); //Application ID in SSO server on Synology NAS with DSM
|
||||
define('SSO_HOST', 'https://dsm.pgmr2.com');// 'https://dsm.yourserverdomain.toplevel:5001'); //Synology NAS with DSM
|
||||
define('LOCAL_HOST', 'https://sso.pgmr2.com'); // Your server host
|
||||
define('REDIRECT_URI', 'https://sso.pgmr2.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
|
||||
?>
|
||||
Reference in New Issue
Block a user