0
admin@SYNTAQ created
ASPNETZERO 11.2 ASPNET Core MVC
We are seeing a very slow Authenticate method on the TokenAuthController when calling the CreateJwtClaims function from the Authenticate method. The method does complete successfully but can take up to 60 seconds to complete. Captcha is not enabled
var accessToken = CreateAccessToken(await CreateJwtClaims(loginResult.Identity, loginResult.User,
refreshTokenKey: refreshToken.key));
The line of code that takes a long time is in the CreateJwtClaims function
await _userManager.AddTokenValidityKeyAsync(
user,
tokenValidityKey,
expirationDate
);
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
Could you try the solution in this issue https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5244 ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)