Light exposure during drying is vastly overstated with bro-science but at the end of the day, yes photons can degrade trichome heads and contents (namely, by converting them to their acidic form usually). The intensity, or wavelength , of that photon makes all the difference and is a lot to unpack. Certainly do not dry in your grow tent - you could likely do little else to mess up your harvest more...
Generally speaking, dry in the dark with gently vapor pressure gradients (as far away from any compressor-driven devices like ACs or dehumidifiers as you can get), for as long as you can. Drying really is the same as drying/curing meats/cheeses/archiving books and artifacts...aka the cannabis-only knowledge folks are largely decades behind unless you move to the cutting edge of cannabis research. The Cannatrol folks have been doing first principles shakeups on how we dry and cure cannabis; the summary is that you only care about bound/unbound water and not ripping trichomes to shreds. Basic dew point theories apply, and boom - perfectly dried cannabis in 4 days and perfectly cured in another 4.
As someone very comfortable discussing these topics, the only light I add in a drying tent is UV-A lights on an intermittent timer only when needed due to risk increasing due to external weather that impacts my lung room. UV-A has minimal degradation of cannabinoids, when it does interact it usually creates isomers as often as it degrades to acidic forms, and it only effects the surface...meaning that if you destroy/convert 30% of your potency on the surface, you're still only impacting your potency by ~10% or less at worst on the overall flower while heavily mitigating any pathogen risk. This is only when needed (aka a competition harvest is on the horizon and it is 80% humidity outside for a week at a time and a dry is going on).