The Jizya tax on non-muslims in many Islamic empires was never a "discriminatory" tax. This is a common anti-muslim trope and an example of distorting history by considering it through modern political lens. In most muslim empires, this tax was only imposed on non-muslims who wanted to be exempt from serving in the military but still be a citizen of the Islamic empire they were part of. Those who chose to join military service were exempted from payment. Only free adult, non-muslim males were required to pay it and women, children, elders, the disabled, the insane, religious workers, hermits, slaves etc. were exempt. Some muslim rulers also exempted the poor amongst the non-muslims from paying it.
Muslims weren't required to pay a similar tax to the government because they were already obligated by their religion to pay a certain percentage of their wealth every year towards charity (Zakat).
This trope was popularised as part of the "divide and rule" policy of the British to generate animosity between muslims and non-muslims in many a British colony and today is commonly spouted in the anti-muslim tirades of many a right-wing religious fundamentalists.
There were a variety of other discriminatory measures in most of the Middle-East; many applied to religions other than Judaism as well. Another notable one was the limited access to the legal systems, along with the inferior legal status non-Muslims were relegated to. https://en.wikipedia.org/wiki/Antisemitism_in_the_Arab_world
I also think it’s absurd to pretend that taxing people who do not tithe to one’s favored faith or cause is non-discriminatory. Imagine Utah taxing non-Mormons because they don’t tithe to The Church or The United Way.