Skip to content

Commit 35a4131

Browse files
authored
Merge pull request #65 from scalecube/develop
Prepare release
2 parents b937695 + deac389 commit 35a4131

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jwt/src/main/java/io/scalecube/security/jwt/DefaultJwtAuthenticator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public Mono<Profile> authenticate(String token) {
3030
return jwtKeyResolver
3131
.resolve((Map<String, Object>) claims.getHeader())
3232
.map(key -> parser.setSigningKey(key).parseClaimsJws(token).getBody())
33-
.map(this::profileFromClaims)
34-
.onErrorMap(AuthenticationException::new);
35-
});
33+
.map(this::profileFromClaims);
34+
})
35+
.onErrorMap(AuthenticationException::new);
3636
}
3737
}

0 commit comments

Comments
 (0)