Added nonfunctional workflow for crossdomain cookies

This commit is contained in:
djpbessems
2019-02-22 11:28:42 +01:00
parent 2776d1b421
commit d9e53fce49
5 changed files with 37 additions and 14 deletions

View File

@ -22,10 +22,7 @@ return (object) array(
'Path' => '../data/lucidAuth.sqlite.db'
// Relative path to the location where the database should be stored
],
'ApiKeyFile' => 'externalResource.api.key',
// File containing your <externalresource> token
'JWT' => [
'PrivateKey_base64' => '',
// A base64-encoded random (preferably long) string (see https://www.base64encode.org/)
@ -35,20 +32,22 @@ return (object) array(
],
'Session' => [
'Duration' => 2592000,
'Duration' => 2592000,
// In seconds (2592000 is equivalent to 30 days)
'CrossDomainLogin' => False,
// Set this to True if SingleSignOn (albeit rudementary) is desired
// (cookies are inheritently unaware of each other; clearing cookies for one domain does not affect other domains)
'CookieDomains' => [
'domain1.tld' #, 'domain2.tld', 'subdomain.domain3.tld'
]
// Domain(s) that will be used to set cookie-domains to
// (multiple domains are allowed; remove the '#' above)
],
'Debug' => [
'Verbose' => False,
'Verbose' => False,
'LogToFile' => False
]
);
?>