The most damaging part of the sunlight is the UV. With UVA and UVB protection, you should be OK especially with the briefness. Visible light can cause solar retinopathy also, but we are talking about long duration of direct exposure (like hours). Incidentally, you can get this by gazing into eclipses as well.
But you are fine with what you are doing.
Hope this helps and thank you.