The challenge is to have a situation where one religion is dominant over the whole world. There can be different sects, but no more different than the differences between the sects of Christianity or Islam. The religion doesn't need to have literally every person as an adherent, and there can be atheists or people of other, minor religions. It does, however, have to be dominant over most of the world and have a majority of the world's population as believers.