File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
deps/rabbitmq_management/priv/www/js/oidc-oauth Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,9 @@ export function oauth_initialize(authSettings) {
214
214
if ( resource_server ) {
215
215
oauth . sp_initiated = resource_server . sp_initiated
216
216
oauth . authority = resource_server . oauth_provider_url
217
+ if ( resource_server . end_session_endpoint != "" ) {
218
+ oauth . end_session_endpoint = resource_server . end_session_endpoint
219
+ }
217
220
if ( ! resource_server . sp_initiated ) return oauth ;
218
221
else oauth_initialize_user_manager ( resource_server )
219
222
}
@@ -311,7 +314,11 @@ export function oauth_initiateLogout() {
311
314
} )
312
315
313
316
} else {
314
- go_to_authority ( )
317
+ if ( oauth . end_session_endpoint != null ) {
318
+ location . href = oauth . end_session_endpoint
319
+ } else {
320
+ go_to_authority ( )
321
+ }
315
322
}
316
323
}
317
324
You can’t perform that action at this time.
0 commit comments