Simultaneously Supplying power supply through Vin and LiPo Battery

Hello,

I have connecting my MKR1000 to a 5 V, 5 A DC power supply.
Power Supply MKR1000
+5 V Vin
Gnd Gnd

Since my power supply can sometime be off, so as to provide backup, I have connected a 3.7 V 1200 mAH LiPo battery also through 2 mm 2 pin jst connector on board.

Will it damage the board if both supply are given simultaneously?