From 6d8c96c4893f68c157c2a7731e5d2d00deee0103 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Mon, 8 Apr 2024 17:04:33 -0400 Subject: [PATCH] Update logout configuration --- .eclipse-pass.local_env | 6 ++++++ README.md | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.eclipse-pass.local_env b/.eclipse-pass.local_env index 4a70431b..98fd93b4 100644 --- a/.eclipse-pass.local_env +++ b/.eclipse-pass.local_env @@ -21,6 +21,12 @@ PASS_CORE_DATABASE_PASSWORD=moo PASS_CORE_IDP_METADATA=http://idp:8080/idp/shibboleth +# Go back to the app on logout +PASS_CORE_LOGOUT_SUCCESS=/app/ + +# Delete IDP session cookie on logout so can login as another user +PASS_CORE_LOGOUT_DELETE_COOKIES="JSESSIONID /,shib_idp_session /idp" + # Postgres configuration POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres diff --git a/README.md b/README.md index 1ba32b79..a854b21f 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,8 @@ Environment variables: * `PASS_CORE_SP_ID=https://sp.pass/shibboleth` : Identifier of pass-core as an SP * `PASS_CORE_SP_KEY=file:///path/key` : Resource location of SP key * `PASS_CORE_SP_CERT=file:///path/cert` : Resource location of SP certificate +* `PASS_CORE_LOGOUT_SUCCESS=/app/` : Location user is redirected after logout +* `PASS_CORE_LOGOUT_DELETE_COOKIES="JSESSIONID /,shib_idp_session /idp"` : Cookies to delete on logout, "name path" separated by commas. * `POSTGRES_USER=postgres` * `POSTGRES_PASSWORD=postgres` * `JDBC_DATABASE_URL=jdbc:postgresql://postgres:5432/pass`