JWT refreshing + validatin/invalidating infinite error throwing
Hey, I have implemented a JWT refresh method (worked ast some point and then I tried adding invalidation - now it reruns indefinitely with error throwing all the time)
RefreshTokenAndJWT() is being called - Anyone an idea where the logic issue is?
if (!await ValidateAndInvalidateRefreshToken(refreshToken))
{
throw new InvalidOperationException("Invalid refresh token.");
}
is being spammed
0 Replies