Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error when i try to log in/ swagger load also #6388


User avatar
0
muleso created
{System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at ***.Web.Authentication.JwtBearer.****JwtSecurityTokenHandler.ValidateToken(String securityToken, TokenValidationParameters validationParameters, SecurityToken& validatedToken) in G:\*****\aspnet-core\src\****.Web.Core\Authentication\JwtBearer\***JwtSecurityTokenHandler.cs:line 38
   at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()}

2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Try clearing your cookies.

  • User Avatar
    0
    muleso created

    Worked.