Was able to fix this by updating System.IdentityModel.Tokens.Jwt to the latest version. This would require explicit installation.
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.21" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.14.0" />