How to: Add a logout URL¶
You can configure logout URLs for a security policy. The logout URL is commonly the logout page of the web application. Select either HTTP
or HTTPS
protocol based on the type of traffic the web application accepts. Use the format /index.html
and not http://www.example.com/index.html
.
{
"logoutUrls": [
{
"requestContains": "contain_this_string",
"url": {
"method": "*",
"name": "/logout.php",
"protocol": "http",
"type": "explicit"
}
},
{
"requestOmits": "omit_this_string",
"url": {
"method": "*",
"name": "/logout1.php",
"protocol": "http",
"type": "explicit"
}
},
{
"requestOmits": "omit_this_string",
"url": {
"method": "GET",
"name": "/logout2.php",
"protocol": "http",
"type": "explicit"
}
},
{
"requestContains": "contain_this_string",
"url": {
"method": "POST",
"name": "/logout3.php",
"protocol": "http",
"type": "explicit"
}
}
]
}