NOTE: I am running a dev environment locally on a mac.
-
I could not get this to work with a locally generated CA certificate
-
I used set the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0
export NODE_TLS_REJECT_UNAUTHORIZED=0
-
I tried this .. To run over https: you need to generate or buy an CA certificate. I used:
mkcert --install localhost.devssl.com
and put it at the root of my development project. But no matter what flag I tried, this just would not work in my dev environment.
I just could not generate an access token. I submitted a question in the FatSecret dev forum and to their support.
NOTE: I am running a dev environment locally on a mac.
I could not get this to work with a locally generated CA certificate
I used set the environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0
export NODE_TLS_REJECT_UNAUTHORIZED=0
I tried this .. To run over https: you need to generate or buy an CA certificate. I used:
mkcert --install localhost.devssl.com
and put it at the root of my development project. But no matter what flag I tried, this just would not work in my dev environment.
I just could not generate an access token. I submitted a question in the FatSecret dev forum and to their support.