We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c2ee09 commit ed54594Copy full SHA for ed54594
samples/boot/oauth2authorizationserver/src/main/java/sample/JwkSetConfiguration.java
@@ -169,7 +169,7 @@ public JwkSetEndpoint(KeyPair keyPair) {
169
170
@GetMapping("/.well-known/jwks.json")
171
@ResponseBody
172
- public Map<String, Object> getKey(Principal principal) {
+ public Map<String, Object> getKey() {
173
RSAPublicKey publicKey = (RSAPublicKey) this.keyPair.getPublic();
174
RSAKey key = new RSAKey.Builder(publicKey).build();
175
return new JWKSet(key).toJSONObject();
0 commit comments