We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411ad0f commit 4a58412Copy full SHA for 4a58412
src/main/java/com/example/log4u/common/oauth2/dto/KakaoResponseDto.java
@@ -5,7 +5,7 @@
5
import lombok.RequiredArgsConstructor;
6
7
@RequiredArgsConstructor
8
-public class KakaoResponseDto implements OAuth2Response{
+public class KakaoResponseDto implements OAuth2Response {
9
@Override
10
public String getNickname() {
11
return "";
@@ -18,15 +18,14 @@ public String getProfileImageUrl() {
18
19
private final Map<String, Object> attribute;
20
21
-
22
23
public String getProvider() {
24
return "kakao";
25
}
26
27
28
public String getProviderId() {
29
- return attribute.get("sub").toString();
+ return attribute.get("id").toString();
30
31
32
0 commit comments