                 url: "/logout",
                    headers: {
                        "X-XSRF-TOKEN": getCsrfToken()
                    },
                    type: "POST",
                    async: false,
                    success: function (data, textStatus, response) {
                        const rpInitiatedLogoutLocation = response.getResponseHeader('location');
                        window.location = rpInitiatedLogoutLocation;
                    },
                    error: function (jqXHR,