I faced this issue too. After upgrading below packages to same version this issue got fixed. Microsoft.IdentityModel.Tokens System.IdentityModel.Tokens.Jwt