skip to Main Content

Hello I am trying to connect via login facebook and is give me an error on redirection url step because must have an https domain

the question is how I configure xampp to run https localhost address that
making me able to redirecting to facebook page .

2

Answers


  1. Chosen as BEST ANSWER

    Thanks man is working by configuring apache and vhosts to run like as https://localhost

    <VirtualHost *:443>
       DocumentRoot "D:xampphtdocs_projectpublic"
       ServerName www.website.com 
       SSLEngine on
       SSLCertificateFile "conf/ssl.crt/server.crt"
       SSLCertificateKeyFile "conf/ssl.key/server.key"
    </VirtualHost>
    

    and finally, go to facebook login and add valid OAuth redirection URL

    cheers


  2. On October 6, 2018, all apps will be required to use HTTPS.

    HTTPS Facebook Login

    You will need to generate a self singed certificate, put in your local server, then open HTTPs port on your server.

    Last but not least, you will need to add https://localhost:{your-port} in your app Settings (developers.facebook.com)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search