Authentication with PKI Cert. and JWT creation

Hello,

I am pretty new to Kong and would like to implement the following use case:

expect a POST request containing a PKI Cert, get the caller authenticated using the cert internally or call LDAP service, if authentication is successful, generate a JWT token, and then proxy the request to upstream having the JWT token included in the request.

I was wondering how could I have this scenario implemented with OS Kong?

I’d appreciate any guidance.

Thanks,
Goris

Certainly possible with Kong. I don’t have any references to point you to other than Kong’s code and PDK itself.