Too many redirects error with OpenID connect

Hello ,

We are integrating 1IM(8.1.3) with with Forgerock AM using Open Id connect . We are receiving the below error

redirected you too many times.

ERR_TOO_MANY_REDIRECTS

WE have two web servers behind a DNS.

Please let me know if anyone have any comments/feedback.

Thanks,

Pranav