Open rksk opened 5 years ago
Even if we disable "sign" and "encrypt" as below
setCookie(context.response, "name1", "value1", {"expires" : "session", "path" : "/", "httpOnly" : false, "hostOnly" : false, "secure" : false, "encrypt" : false, "sign" : false});
The cookie sent to the browser has the following format base64encode({"signature": null,"value": "value1"})
base64encode({"signature": null,"value": "value1"})
Suggestions
[1] https://docs.wso2.com/display/IS570/Adaptive+Authentication+JS+API+Reference#AdaptiveAuthenticationJSAPIReference-setCookie(response,name,value,properties)
I have created https://github.com/wso2/product-is/issues/5758 to track the 2nd suggestion
In the documentation please add the following.
Even if we disable "sign" and "encrypt" as below
The cookie sent to the browser has the following format
base64encode({"signature": null,"value": "value1"})
Suggestions
[1] https://docs.wso2.com/display/IS570/Adaptive+Authentication+JS+API+Reference#AdaptiveAuthenticationJSAPIReference-setCookie(response,name,value,properties)