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 3f7c1d7 + 69934d7 commit 07425c3Copy full SHA for 07425c3
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