Differences

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

Link to this comparison view

Both sides previous revision Previous revision
documentation:2.1:servertoserver [2019/07/02 20:02]
cmaudoux [Webapp1 handler configuration]
documentation:2.1:servertoserver [2019/10/13 15:51] (current)
cmaudoux [Webapp1 handler configuration]
Line 21: Line 21:
  
 WebApp1 can read this header and use it in its requests by setting the ''​X-Llng-Token''​ header. The token is built by using the session ID and authorized virtualhosts list. By default, the Service Token is only available during 30 seconds and for specified virtualhosts. The token can be use to send service headers to webapp2 like origin host by example. WebApp1 can read this header and use it in its requests by setting the ''​X-Llng-Token''​ header. The token is built by using the session ID and authorized virtualhosts list. By default, the Service Token is only available during 30 seconds and for specified virtualhosts. The token can be use to send service headers to webapp2 like origin host by example.
 +
 +You can set ServiceToken TTL in the virtualHost options in Manager for each required virtualHost.
  
 You can set ServiceToken default timeout (30 seconds) by editing ''​lemonldap-ng.ini''​ in section [handler]: You can set ServiceToken default timeout (30 seconds) by editing ''​lemonldap-ng.ini''​ in section [handler]: