I am running a microservice based application, with a number of basic services and a Oauth token service using IdentityServer4. I would like to carry out token introspection with the identity service from the ingress controller directly, which I believe seems to be supported (https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/) - and then check if the user is permitted access based on their role at the application layer in the various services.
I have valuable information in my introspection response that I want passed down to my different services (role, username, email etc) from my ingress controller after the introspection is complete. The documentation around using oauth in ingress-nginx is quite lacking. I am wondering if anyone is aware of if this is supported and if so how I go about implementing it.