Skip to content

Commit

Permalink
release: deploy to prod (#11)
Browse files Browse the repository at this point in the history
* chore: token revoke url을 변경한다.

* feat: springboot volume 설정 추가
  • Loading branch information
rlarltj authored Jul 1, 2024
1 parent 99667e1 commit 114fa32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ services:
APPLE_CLIENT_ID: ${APPLE_CLIENT_ID}
KAKAO_ADMIN_KEY: ${KAKAO_ADMIN_KEY}
INVITATION_CODE_KEY: ${INVITATION_CODE_KEY}
volumes:
- ./logfile:/logs

redis:
container_name: moneymong-redis
image: redis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void unlink(Long userId) {
params.add("token_type_hint", "refresh_token");

URI uri = UriComponentsBuilder
.fromUriString(host + "/auth/oauth2/v2/revoke")
.fromUriString(host + "/auth/revoke")
.build()
.toUri();

Expand Down Expand Up @@ -165,7 +165,10 @@ private PrivateKey getPrivateKey() {
byte[] privateKeyBytes = Base64.getDecoder().decode(privateKey);

PrivateKeyInfo privateKeyInfo = PrivateKeyInfo.getInstance(privateKeyBytes);
return converter.getPrivateKey(privateKeyInfo);

PrivateKey key = converter.getPrivateKey(privateKeyInfo);

return key;
} catch (Exception e) {
throw new RuntimeException("Error converting private key from String", e);
}
Expand Down

0 comments on commit 114fa32

Please sign in to comment.