|
@@ -22,6 +22,7 @@ import org.springframework.stereotype.Component;
|
|
|
import org.springframework.util.LinkedMultiValueMap;
|
|
import org.springframework.util.LinkedMultiValueMap;
|
|
|
import org.springframework.util.MultiValueMap;
|
|
import org.springframework.util.MultiValueMap;
|
|
|
import org.springframework.web.client.RestTemplate;
|
|
import org.springframework.web.client.RestTemplate;
|
|
|
|
|
+import com.vdurmont.emoji.EmojiParser;
|
|
|
|
|
|
|
|
import javax.annotation.PostConstruct;
|
|
import javax.annotation.PostConstruct;
|
|
|
import java.net.URI;
|
|
import java.net.URI;
|
|
@@ -193,7 +194,7 @@ public class KaKaoLogin {
|
|
|
Locale locale = Locale.KOREA;
|
|
Locale locale = Locale.KOREA;
|
|
|
|
|
|
|
|
String snsId = obj.get("id").toString();
|
|
String snsId = obj.get("id").toString();
|
|
|
- String custNm = properties.getString("nickname");
|
|
|
|
|
|
|
+ String custNm = EmojiParser.removeAllEmojis(properties.getString("nickname"));
|
|
|
String email = kakaoAccount.getString("email");
|
|
String email = kakaoAccount.getString("email");
|
|
|
String birthYmd = kakaoAccount.getString("birthyear") + kakaoAccount.getString("birthday");
|
|
String birthYmd = kakaoAccount.getString("birthyear") + kakaoAccount.getString("birthday");
|
|
|
String cellPhnno = getPhoneNumber(kakaoAccount.getString("phone_number"), locale.getCountry());
|
|
String cellPhnno = getPhoneNumber(kakaoAccount.getString("phone_number"), locale.getCountry());
|