Need Help with Implementing OAuth 2.0 in Wappler - Error Retrieving Access Token

Hi everyone,

I'm encountering an issue while trying to implement the OAuth 2.0 protocol in Wappler, and I'm hoping someone with experience in this area can help me out.

I've followed the steps to set up the OAuth Provider in Wappler and am attempting to connect to an external API. However, when I make the request, the API does not return the access_token. Instead, I receive the following error:

[Error description you are receiving, for example:
status: "500"
code: "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
message: "unable to verify the first certificate"
stack: "Error: unable to verify the first certificate\n    at TLSSocket.onConnectSecure (node:_tls_wrap:1685:34)\n    at TLSSocket.emit (node:events:519:28)\n    at TLSSocket._finishInit (node:_tls_wrap:1085:8)\n    at ssl.onhandshakedone (node:_tls_wrap:871:12)"]

I've double-checked the provider configuration, and the credentials seem correct. I suspect the issue might be related to SSL certificate verification or the certificate chain configuration, but I'm not sure how to resolve it.

If anyone has experienced a similar issue or has expertise in setting up OAuth 2.0 in Wappler, I would greatly appreciate any tips or guidance you could provide.

Thanks in advance for your help!

Rodrigo Coifman

![Captura de Tela 2024-09-03 às 13.30.23|454x500](upload://8DjioGplze78tyf3FfTcTgmFze7.png)
![Captura de Tela 2024-09-03 às 13.30.47|690x111](upload://uDfZNxSvcB1PVUuKDAJcYkZjObF.png)

Please provide url to the API documentation.

Also your screenshot are under the code ```

Can you edit your post?