How change the response of userinfo endpoint

Hi

I want implement F5 oAuth how IDP in Grafana and OpenShift.

The problem is that these applicaition use the endpoint /userinfo but require a response JSON format, the response of F5 its in JWT format.

Its possible change the F5 response of /userinfo endpoint?

its possible identify the clientid for apply this change of response only for this clientid?

Thanks for your help

The requirements of Openshift says that the userinfo response not support decrypt methods, for this couse need that response of userinfo shows a JSON Plain.

I continue research a solution.