Redirecting xFlow/Service Point when clicking on Logout button
search cancel

Redirecting xFlow/Service Point when clicking on Logout button

book

Article ID: 136985

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager CA Service Catalog

Issue/Introduction

In an NTLM/SAML authentication environment for xFlow/Service Point, we would like to avoid showing xFlow/Service Point homepage when clicking on Logout button and when the session expires. 

Environment

Release : 17.x

Component : XFLOW INTERFACE FOR SDM / SERVICE POINT 

Resolution

1. In the xFlow/Service Point server go to <local drive>\Program Files\CA\xFlow\APPS\Services\incidentmicroservice-17.0.479\public\conf\casm.conf.js

2. Add the following before "locale:'en-US'"

 

onLogout: {
            url:'<URL>',         //Custom placeholder for url redirection when clicked on Logout
            isExternal : true   //Default:false   change this to true if you want to keep it o external url 
        },

Replace <URL> with the URL where you need to redirect when logging out.

 

Example:

 

var casm_admin = {

    config: {

        api : {

            server : 'http://<xFlow/SP URL>:9002' + '/api'

        },

        bui : {

            server : 'http://<xFlow/SP URL>:9002' + '/bui'

        },

        search : {

            server : 'http://<xFlow/SP URL>:9006'

        },

        sdm : {

            server : 'http://<xFlow/SP URL>:8282/CAisd/pdmweb.exe' 

        },

        websocket : {

            server : 'ws://<xFlow/SP URL>:9008'

        },

        collaboration:{

            server:'ws://<xFlow/SP URL>:9014'

        },

        insights : {

            server : 'http://<xFlow/SP URL>:9016'

        },

  onLogout: {

            url:'<URL>', //Custom placeholder for url redirection when clicked on Logout

            isExternal : true //Default:false change this to true if you want to keep it o external url 

        },

        locale:'en-US'

    }

};

 

3. Save changes > Restart xFlow Services