Skip to content

Commit eaf888e

Browse files
committed
removed keycloak support from custom oauth2 user service
1 parent 642fbce commit eaf888e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/com/digitalsanctuary/spring/user/service/DSOAuth2UserService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public User handleOAuthLoginSuccess(String registrationId, OAuth2User oAuth2User
5757
user = getUserFromGoogleOAuth2User(oAuth2User);
5858
} else if (registrationId.equalsIgnoreCase("facebook")) {
5959
user = getUserFromFacebookOAuth2User(oAuth2User);
60-
} else if (registrationId.equalsIgnoreCase("keycloak")) {
6160
} else {
6261
log.error("Sorry! Login with " + registrationId + " is not supported yet.");
6362
throw new OAuth2AuthenticationException(new OAuth2Error("Login Exception"),

0 commit comments

Comments
 (0)