-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Description
Summary
I ❤️ the new OidcClientInitiatedServerLogoutSuccessHandler in Spring Security 5.2! The only problem I see with it is you have to set a postLogoutRedirectUri property. This will likely vary between development, test, and production, so it seems like kind of a pain to have to maintain a new property that could be calculated.
By default, it'd be nice if the postLogoutRedirectUri defaulted to the current context path (/). If people wanted to override it, it'd be cool if they could use a relative URL (that starts with /) or an absolute URL (current behavior).
I'm entering this here as requested by @jgrandja on Stack Overflow.
Actual Behavior
You need to set a postLogoutRedirectUri.
Expected Behavior
I'd like this value to default to /.
Configuration
OIDC with Okta and Keycloak (because JHipster).
Version
Spring Security 5.2