X-forwarded-host in Tomcat

Hello @vmassol ,
Thanks for quick reply, actually I am trying OIDC to login to XWiki,
The same issue from Incorrect Link does happen for me too.

image

I too get this, but for the resolution they have used nginx proxy setup, but we are using Tomcat in a Windows Server for Xwiki

I would really appreciate if there is a way to setup this using Tomcat Server, instead of adding nginx as proxy