问题 Using a single asp.net(4.6.1) web project, apparently I'm unable to validate the jwt token that was generated on the same server. Startup.cs : var secret = Encoding.UTF8.GetBytes("12341234123412341234"); var jwtFormatter = new CustomJwtFormat("Any", "local", secret); // This part checks the tokens app.UseJwtBearerAuthentication(new JwtBearerAuthenticationOptions { AuthenticationType = DefaultAuthenticationTypes.ExternalBearer, AuthenticationMode = AuthenticationMode.Active, // Block requests