Skip to content

Commit a3de05e

Browse files
committed
Removed vault from production code
1 parent 1cddba2 commit a3de05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokens/src/main/java/io/scalecube/security/tokens/jwt/JwksKeyProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private Optional<Key> findRsaKey(JwkInfoList list, String kid) {
9898
return list.keys().stream()
9999
.filter(k -> kid.equals(k.kid()))
100100
.findFirst()
101-
.map(vaultJwk -> Utils.getRsaPublicKey(vaultJwk.modulus(), vaultJwk.exponent()));
101+
.map(info -> Utils.getRsaPublicKey(info.modulus(), info.exponent()));
102102
}
103103

104104
private static ObjectMapper initMapper() {

0 commit comments

Comments
 (0)