File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ All notable changes to the Wazuh app project will be documented in this file.
24
24
- Fixed nested field rendering in security alerts table details [ #4428 ] ( https://github.com/wazuh/wazuh-kibana-app/pull/4428 )
25
25
- Fixed a bug where the Wazuh logo was used instead of the custom one [ #4539 ] ( https://github.com/wazuh/wazuh-kibana-app/pull/4539 )
26
26
- Fixed rendering problems of the ` Agent Overview ` section in low resolutions [ #4516 ] ( https://github.com/wazuh/wazuh-kibana-app/pull/4516 )
27
+ - Fixed issue when logging out from Wazuh when SAML is enabled [ #4595 ] ( https://github.com/wazuh/wazuh-kibana-app/issues/4595 )
27
28
28
29
## Wazuh v4.3.8 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4309
29
30
Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ app.run(function ($rootElement) {
111
111
// Add plugin help links as extension to plugin platform help menu
112
112
addHelpMenuToAppChrome ( ) ;
113
113
114
-
115
- const urlToLogout = getHttp ( ) . basePath . prepend ( '/logout' ) ;
116
114
117
115
// Bind deleteExistentToken on Log out component.
118
116
$ ( '.euiHeaderSectionItem__button, .euiHeaderSectionItemButton' ) . on ( 'mouseleave' , function ( ) {
@@ -123,14 +121,14 @@ app.run(function ($rootElement) {
123
121
// x-pack
124
122
$ ( 'a:contains(Log out)' ) . on ( 'click' , function ( event ) {
125
123
// Override href's behaviour and navigate programatically
126
- // to '/ logout' once the token has been deleted.
124
+ // to the logout path once the token has been deleted.
127
125
event . preventDefault ( ) ;
128
126
WzAuthentication . deleteExistentToken ( )
129
127
. catch ( ( err ) => {
130
128
console . error ( '[ERROR] - User token could not be deprecated - ' , err ) ;
131
129
} )
132
130
. finally ( ( ) => {
133
- window . location = urlToLogout ;
131
+ window . location = event . currentTarget . href ;
134
132
} ) ;
135
133
} ) ;
136
134
} ) ;
You can’t perform that action at this time.
0 commit comments