Skip to content

Commit

Permalink
[fix] client secret 생성 개발용 서비스용 분리 #97
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdtkdgns committed Aug 14, 2023
1 parent 3974b8c commit d3423fb
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public AppleTokenResponse getAppleOAuthTokenDev(String code) {
appleOAuthProperties.getWebClientId(),
appleOAuthProperties.getRedirectUrl(),
code,
this.getClientSecret());
this.getClientSecretDev());
}

/** idtoken 분석 * */
Expand Down Expand Up @@ -111,4 +111,13 @@ private String getClientSecret() {
appleOAuthProperties.getAuthKey(),
appleOAuthProperties.getBaseUrl());
}

private String getClientSecretDev() {
return AppleLoginUtil.createClientSecret(
appleOAuthProperties.getTeamId(),
appleOAuthProperties.getWebClientId(),
appleOAuthProperties.getKeyId(),
appleOAuthProperties.getAuthKey(),
appleOAuthProperties.getBaseUrl());
}
}

0 comments on commit d3423fb

Please sign in to comment.