diff options
author | Vitaly Takmazov | 2023-01-13 23:02:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 23:02:22 +0300 |
commit | 3e24323834b324aac0deb228c7a66be570c5fbb9 (patch) | |
tree | 6508dc54f04452e4c5d67d241bc27e0a918a36f7 /src/main/java/com/juick | |
parent | cdfc8171036f52d8b69861125e7a05a9b7314a2c (diff) |
OAuth: use static key id
Diffstat (limited to 'src/main/java/com/juick')
-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); |