Merge branch 'master' into tb-botbuilder
This commit is contained in:
Коммит
0c21fa47d2
|
@ -93,7 +93,9 @@ public class JwtTokenExtractor {
|
|||
}
|
||||
|
||||
return CompletableFuture.supplyAsync(() -> {
|
||||
Verification verification = JWT.require(Algorithm.RSA256(key.key, null));
|
||||
Verification verification = JWT
|
||||
.require(Algorithm.RSA256(key.key, null))
|
||||
.acceptLeeway(tokenValidationParameters.clockSkew.getSeconds());
|
||||
try {
|
||||
verification.build().verify(token);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче