Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
JREastonMarks committed Jan 29, 2025
1 parent a7914c0 commit a178dab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,4 @@ private GrantedAuthoritiesMapper userAuthoritiesMapper() {
return mappedAuthorities;
};
}

// See: https://docs.spring.io/spring-security/reference/5.7-SNAPSHOT/servlet/oauth2/login/advanced.html#oauth2login-advanced-oidc-logout
private LogoutSuccessHandler oidcLogoutSuccessHandler(ClientRegistrationRepository clientRegistrationRepository) {
OidcClientInitiatedLogoutSuccessHandler oidcLogoutSuccessHandler =
new OidcClientInitiatedLogoutSuccessHandler(clientRegistrationRepository);
oidcLogoutSuccessHandler.setPostLogoutRedirectUri("{baseUrl}");
return oidcLogoutSuccessHandler;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
)
@TestPropertySource(
properties = {
"oauth2.logout.url=./",
"authenticate=oauth2",
"dat.method=oauth2",
// DB settings (also see MysqlInitializer)
Expand Down

0 comments on commit a178dab

Please sign in to comment.