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.
2 parents b937695 + deac389 commit 35a4131Copy full SHA for 35a4131
jwt/src/main/java/io/scalecube/security/jwt/DefaultJwtAuthenticator.java
@@ -30,8 +30,8 @@ public Mono<Profile> authenticate(String token) {
30
return jwtKeyResolver
31
.resolve((Map<String, Object>) claims.getHeader())
32
.map(key -> parser.setSigningKey(key).parseClaimsJws(token).getBody())
33
- .map(this::profileFromClaims)
34
- .onErrorMap(AuthenticationException::new);
35
- });
+ .map(this::profileFromClaims);
+ })
+ .onErrorMap(AuthenticationException::new);
36
}
37
0 commit comments