Monday, 24 April 2017

Kong oauth2 plugin

I used Kong oauth2 plugin for an api I had made and then tried to access the api using this node.js client. However,at the /oauth2/authorize endpoint I get the error Cannot GET /undefined. Following is the error response in the console :

 authorizationError: 'DEPTH_ZERO_SELF_SIGNED_CERT',

Kong provides its own selfsigned ssl certificate and inside the code for the node.js client, the line to accept every ssl certificate is already added.



via Mukul Chakravarty

No comments:

Post a Comment