Skip to content

Commit

Permalink
Response to Feedback
Browse files Browse the repository at this point in the history
Change default to baseUrl so as to use the scheme and port of the
original request
  • Loading branch information
jzheaux committed Aug 13, 2024
1 parent 44ecf2f commit 138be52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public void logout(HttpServletRequest request, HttpServletResponse response,
*/
public final class SessionLogoutConfigurer {

private String logoutUri = "{baseScheme}://localhost{basePort}/logout/connect/back-channel/{registrationId}";
private String logoutUri = "{baseUrl}/logout/connect/back-channel/{registrationId}";

private String cookieName = "JSESSIONID";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5667,7 +5667,7 @@ public Mono<Void> logout(WebFilterExchange exchange, Authentication authenticati
*/
public final class SessionLogoutConfigurer {

private String logoutUri = "{baseScheme}://localhost{basePort}/logout/connect/back-channel/{registrationId}";
private String logoutUri = "{baseUrl}/logout/connect/back-channel/{registrationId}";

private String cookieName = "SESSION";

Expand Down

0 comments on commit 138be52

Please sign in to comment.