Have installed kong on ec2, trying to generate a token.
Have added a oauth plugin to service, My question is how do we generate a token first to get it validated by the plugin which is added in the service.
Have created consumers and client app with clientId and secret.
I’m trying to use this url:
curl --location --request POST ‘http://:8000/oauth/token’
–header ‘Content-Type: application/json’
As , i understand /oauth/token is the default path used by kong to generate a token.
Also 8000 is the proxy listen. Tried with 8001 which is admin api, getting 404.
Could any one help or have any suggestions,