Best you learn more about 14th Amendment privileges and immunities.
But the 14th amendment's due process clause means a lot more than it did when it was written. We now understand that it goes beyond the original intent, and now must be construed to to include all forms of discrimination.