diff options
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/juick/config/SecurityConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java index cb448cf3..78950c80 100644 --- a/src/main/java/com/juick/config/SecurityConfig.java +++ b/src/main/java/com/juick/config/SecurityConfig.java @@ -170,7 +170,7 @@ public class SecurityConfig { RSAPrivateKey privateKey = (RSAPrivateKey) keystoreManager.getPrivateKey(); RSAKey rsaKey = new RSAKey.Builder(publicKey) .privateKey(privateKey) - .keyID(UUID.randomUUID().toString()) + .keyID(webDomain) .build(); JWKSet jwkSet = new JWKSet(rsaKey); return new ImmutableJWKSet<>(jwkSet); |