MissingFieldException: Field not found: 'Microsoft.Net.Http.Headers.HeaderNames.Authorization'
问题 I making an API with .NET Core 3.0 Preview 4 CLI . I've came up to the point where you can send username and password and get the token (JWT). This is my login method. [HttpPost("login")] public async Task<IActionResult> Login([FromBody] UserForLoginDto userForRegisterDto) { var userFromRepo = await _repo.Login(userForRegisterDto.Username.ToLower(), userForRegisterDto.Password); if (userFromRepo == null) //User login failed return Unauthorized(); //generate token var tokenHandler = new