Hi, Neemesh.
I don't think there is an easy way to see all OIDC messages in Gluu logs. The most solid way so far has been to employ Apache's **mod_dumpio** module. Here is a guide that may help you (please note these steps may need adjustments, depending on Apache's version used by your instance; please consult Apache's doc portal in such case; also note those steps are for CentOS, you'll need to adjust it for Ubuntu too):
1) Check whether it's enabled: `# apachectl -M | grep dumpio`. If grep won't return a string with its name, it isn't. In such case find a section listing loaded modules in the `/etc/httpd/conf/httpd.conf` and add this string there: `LoadModule dumpio_module modules/mod_dumpio.so`
2) In the same file find section where general logging settings are provided, similar to this:
```
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog logs/access_log combined
```
...and add next clauses right after it:
```
DumpIOInput On
DumpIOOutput On
LogLevel dumpio:trace7
```
3) Now in the `/etc/httpd/conf.d/https_gluu.conf`, in a section defining Gluu instance's virtual host, find the place where logging is configured (should be a single string `LogLevel warn`) and add next clauses right behind it:
```
DumpIOInput On
DumpIOOutput On
LogLevel dumpio:trace7
```
4) Restart Apache
More about `dumpio` [here](https://httpd.apache.org/docs/2.4/mod/mod_dumpio.html).
You either need to do these changes on both nodes of a cluster (I assume you are using one), or somehow ensure all requests for this flow (including out-of-band requests to token and userinfo endpoints which are in case of `authz code` flow are originating from the RP) will be served by the node you modified.
After these changes Apache should start to dump all HTTP traffic to the `/etc/httpd/logs/error_log`. I would ask you to run your failing OIDC flow again, and provide us a full dump it will generate in the file (will be too big to post, please use attachment feature of the board)