First, nobody is afraid of opposing viewpoints. Global Warming has been studied since the first scientific article on the topic was published in the late 1800's. And there have been vigorous debates ever since that time. But as the years have gone by, more and more scientific evidence of anthropogenic global warming has come to the fore. The scientific method has worked.
If you were told there was no "consensus" in science then you were grossly misinformed. We do have a baseline of generally accepted scientific principles. Those principles constitute the consensus. As I said, without consensus, there would be no undergraduate courses in science. Can you imagine your undergraduate chemistry professor saying, "Well, we are not going to cover stoichiometry because there is no real concensus that it works. Same goes for atomic structure. And as for that periodic table, are we really sure?"
Sometimes, consensus is overturned. A good example is how Einstien's theories supplanted Newtonian physics. But even so, Newton was mostly correct. It's just that Einstien showed conditions under which Newton's laws were insufficient.
Consensus on climate change is what we have today. It doesn't mean the conclusions are perfect. It doesn't mean those conclusions can not be challenged. It just gets harder and harder to mount that challenge when further study keeps pointing to the same conclusions.
And those conclusions are that greenhouse emissions are warming the planet. And furthermore, it will have devastating consequences.