Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: token revoke url을 변경한다.
Browse files Browse the repository at this point in the history
rlarltj committed Jul 1, 2024
1 parent 99667e1 commit 9e673c5
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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();

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

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

PrivateKey key = converter.getPrivateKey(privateKeyInfo);

log.info("key = {}", key);
return key;
} catch (Exception e) {
throw new RuntimeException("Error converting private key from String", e);
}

0 comments on commit 9e673c5

Please sign in to comment.