From cff7f3224546db5ec9f4b1daea3b421442b62287 Mon Sep 17 00:00:00 2001 From: 1223v <1223v@naver.com> Date: Fri, 1 Dec 2023 19:48:32 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Oauth=20=ED=8F=B0=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../readyverydemo/security/oauth2/OAuthAttributes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/readyvery/readyverydemo/security/oauth2/OAuthAttributes.java b/src/main/java/com/readyvery/readyverydemo/security/oauth2/OAuthAttributes.java index 66241aa..024e26e 100644 --- a/src/main/java/com/readyvery/readyverydemo/security/oauth2/OAuthAttributes.java +++ b/src/main/java/com/readyvery/readyverydemo/security/oauth2/OAuthAttributes.java @@ -58,7 +58,7 @@ public UserInfo toEntity(SocialType socialType, OAuth2UserInfo oauth2UserInfo) { .socialType(socialType) .socialId(oauth2UserInfo.getId()) .email(oauth2UserInfo.getEmail()) - .phone(oauth2UserInfo.getId()) + .phone(oauth2UserInfo.getPhoneNumber()) .age(oauth2UserInfo.getAge()) .birth(oauth2UserInfo.getBirth()) .nickName(oauth2UserInfo.getNickName())