Facebook connector: login issues - facebook

I am using a development environment http://localhost:3000 how can i install the SSL certificate in local?it doesn't make sense. How come Facebook force me to use https, does exist a sandbox or other way around?
thanks in advance

Related

https problem while implementing Facebook login on local host in development mode

I am developing a web-app which will manage user page posts etc,
My app in Facebook developer console is in development mode, but when i try to login in http://localhost then it gives error that facebook login does not allow http but i have to use https protocol.
Any solution to test facebook login in localhost with http ? or
Any idea to convert http to https in localhost?
I tried ngrok that converted http to https but facebook developer console said it is suspicious kinda link and refused to accept;
I am using a npm pakage react-facebook-login,
I will shift to pure code of facebook sdk if that will solve problem.
This is a solution I found for create-react-app. https://create-react-app.dev/docs/using-https-in-development/
Make sure you use the right terminal and it works. For instance, I started dev in the cmd line (set HTTPS=true&&npm start).
The downside is you still will get not secure warnings in the browser but the errors with the FB.login or similar from Facebook login packages went away. Hope it helps.

Is it possible to check if mitm-certificate is installed in addon?

I was wondering if it is possible to check if the MITM certificate is installed and if not then redirect the client to the mitm.it page.
I can't find anything in the documentation about this.

Integrating locally installed PingFederate with Facebook

We have installed PingFederate 7.1 in our local desktop (not in cloud). Now want to integrate with facebook. Is it possible?
We tried with documents available for integrating facebook with cloud enabled pingfederate. But it is not working.
Can anybody pls help here?
Ok figured it out. It works in local installations also. Just to put the port number for your facebook endpoints.

My application works only on Heroku without https

My new application is hosted on heroku. I noticed that it works fine on heroku without https. But when i try it on facebook it doesn't work.
What's going on ?
Thanks for your help.
You probably have "Secure Browsing" turned on in your facebook settings
https://www.facebook.com/settings?tab=security

facebook update: How to provide an SSL certificate

You must provide an SSL certificate in the Dev App settings to avoid having your app disabled.
https://developers.facebook.com/roadmap/
Do I have to upload my certificates anywhere? Where?
You need to add your certificate to your web server.
For more information about installing certificates, visit this link: https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&id=SO16226
Find out what kind of web server you're using and follow the instructions. You may need to contact your web hosting administrator for help.
Once the certificate is installed on your web server, you need to enter the https url in the dev app settings, I believe it's called "Secure Canvas URL". That's all that facebook requires of you.