Session Hook Workflow

In general authentication settings you can configure a session hook workflow id. This workflow will be executed whenever a  session is updated. The workflow gets a SimpleValueRequest as input that contains 5 parameters. 

  1.  type: This is a string that has a  value "login" if the session is updated and a value "logout" if the  session is removed. 
  2. response_headers: contains the response headers. 
  3. credential: contains the session.
  4. request_headers: contains the request headers. 
  5. request_cookies: contains the request cookies. 

The response from the session hook  workflow is expected to be an object containing one property "headers",  which is a map of headers. These headers will be added to the response headers.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.