0

Since recently I can not test applications on localhost. There is no canvas url anymore to be set, only secure canvas url and it asks for https url. Even test apps do not have this option. So I have to buy another ssl and domain for testing pourposes only? If someone has the same problem or a solution please let me know. Cheers!

2 Answers2

0

Just put in https://localhost and accept the unsafe message in the browser, you don“t need to buy a certificate.

You can also use a self-signed certificate, as explained in other threads:

Community
  • 1
  • 1
andyrandy
  • 72,880
  • 8
  • 113
  • 130
0

Thank you luschn for pointing that about self signed stuff out because just putting https://localhost will not work anymore.

It seems that facebook made some changes and that you can only test your apps on localhost if you create a self signed certificate with openssl tool. Then you can enter in secure canvas url something like https://localhost:3000/ and in app domains localhost and it seems to work. Other than creating selfsigned certificate I could not make it work on localhost.