documentation:2.1:cda

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:cda [2019/02/19 18:48]
documentation:2.1:cda [2019/02/19 18:48] (current)
Line 1: Line 1:
 +====== Cross Domain Authentication ======
  
 +===== Presentation =====
 +
 +{{section>..presentation#cross_domain_authentication_cda&noheader}}
 +
 +===== Configuration =====
 +
 +Go in Manager, ''General Parameters'' » ''Cookies'' » ''Multiple domains'' and set to ''On''.
 +
 +To use this feature only locally, edit ''lemonldap-ng.ini'' in section [all]:
 +<file ini>
 +[all]
 +cda = 1
 +</file>
 +
 +<note important>If your handler is being served by Nginx, you have to uncomment the following lines in your nginx configuration file:
 +<code>
 +# If CDA is used, uncomment this 
 +auth_request_set $cookie_value $upstream_http_set_cookie; 
 +add_header Set-Cookie $cookie_value;
 +</code>
 +</note>
 +
 +
 +==== Handlers ====
 +
 +Choose "CDA" as type for each virtualHost concerned by CDA //(ie not in main domain)//.