Wappler Version : 3.4.2
Operating System : Mac Catalina Version 10.15.7
Expected behavior
While following the tutorial at https://docs.wappler.io/t/using-oauth2-connector-with-facebook/12345, Facebook should respond accordingly.
Actual behavior
The following error occurs:
How to reproduce
- Create a new project using NodeJS
- Follow the steps outlined in the tutorial, https://docs.wappler.io/t/using-oauth2-connector-with-facebook/12345
- Receive the error listed above.
Cause of the error and solution
It took me three days to figure out the cause of the error, but I finally tracked it down. The error is caused because in the json file, the client id is not being enclosed in quotation marks. In the json file that is created by the tutorial, on line 10, you will find the client id. The response entered is a green color instead of a blue color because the quotation marks are not there. When you add the quotation marks, the response becomes green and you can move forward with the tutorial. Any time you save the file with a change, the quotation marks are removed and have to be re-added.
This bug is probably only specific to node.js projects.
@Teodor (tagged because you helped me out in the past with the Facebook Login API)