How can I implement an endpoint in Kong without having any upstream service? What I want to accomplish is basically the following:
authenticate the request (Basic Auth)
generate a JWT token and return the token back to requester.
Both of the above are possible using plugins and any upstream service is not really needed. Is there any way to implement such scenario?