I have 2 different third party ones. One from Amazon doesn't work but one from eBay does. 5s here. All worked on 5.
3rd party simply means not made by apple. Doesn't mean they are or are not licensed to work. I'm not an expert though, I could be wrong.