Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

How do i use: ionic serve --https

$
0
0

I am developing an ionic react app that needs Google / Facebook login. Facebook requires the site to be a https site. So i did the following:

  1. configured /etc/hosts to set localhost.mydomain.com to 127.0.0.1
  2. Obtained a real SSL cert and private key from godaddy for mydomain, and have it in my filesystem
  3. I want to use: ionic serve --https, but it is mysterious NOT DOCUMENTED anywhere. Whatever doc there is refers to --ssl (experimental), with no further instructions on how to configure and place the cert & key files

Why is this so obscure, when its such a common case? I did a search for this, and i see that a number of questions to this effect remain unanswered, or challenged with “why do you need https in localhost”

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>