I am trying host a testing webpage where I try out node.js, express and Heroku. I have Google and Microsoft login on my site, which requires that the login request comes from an HTTPS URI, but when going to my webpage it does not automatically redirect to HTTPS. Anyone know how to fix this? I am hosting with Heroku hobby dyno with automatic SSL. The DNS is going through one.com with www.blikeng.com as hostname, and Blikeng.com redirects to https://www.blikeng.com.
www.blikeng.com goes to http and you can just remove https if you please, which is obviously not preferable. I can not set www.blikeng.com to redirect to https://blikeng.com either as www.blikeng.com is already set as CNAME.