|
@@ -169,7 +169,7 @@ class JwkSetEndpoint {
|
|
|
|
|
|
@GetMapping("/.well-known/jwks.json")
|
|
@GetMapping("/.well-known/jwks.json")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- public Map<String, Object> getKey(Principal principal) {
|
|
|
|
|
|
+ public Map<String, Object> getKey() {
|
|
RSAPublicKey publicKey = (RSAPublicKey) this.keyPair.getPublic();
|
|
RSAPublicKey publicKey = (RSAPublicKey) this.keyPair.getPublic();
|
|
RSAKey key = new RSAKey.Builder(publicKey).build();
|
|
RSAKey key = new RSAKey.Builder(publicKey).build();
|
|
return new JWKSet(key).toJSONObject();
|
|
return new JWKSet(key).toJSONObject();
|