This always happens if your WordPress site lacks an SSL certificate. So, install an SSL certificate on your WordPress site before anything else. Also, installing a WordPress security plugin like Simple SSL can solve the issue.