Skip to content

Commit

Permalink
chore: testing logout with session kill
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzem committed Jun 10, 2024
1 parent f6fad06 commit e28b740
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/auth/federated-logout/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export async function GET() {
try {
const issuerLogout = `${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/logout`
const redirectToSessionLogout = new URLSearchParams({
logout: 'true',
client_id: process.env.KEYCLOAK_ID ?? '',
post_logout_redirect_uri: rootUrl ? `${rootUrl}/logout` : '',
redirect_uri: rootUrl ? `${rootUrl}/logout` : '',
Expand Down

0 comments on commit e28b740

Please sign in to comment.