Skip to content

Commit e46e4ef

Browse files
authored
make logout work with keycloak
1 parent bfd51e9 commit e46e4ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/logout.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
// Finally, destroy the session.
88
session_destroy();
99

10-
// Redirect to login page
11-
header('Location: index.php');
10+
// Redirect to keycloak logout
11+
header('Location: https://alf.agdsn.de/realms/internal/protocol/openid-connect/logout');

0 commit comments

Comments
 (0)