I just had the windshield replaced on my CX-50 a two of weeks ago. A local shop handled the install but ordered the glass directly from Mazda. My family’s had bad experiences with aftermarket glass in the past, so that pushed me toward OEM; especially since my car’s less than a year old.
If you’re paying out of pocket, aftermarket could still be the more practical option. I went through my insurance, so it was fully covered, but the total bill came to about $1,700 and the glass took nearly four months to arrive.