Hi, This redirection relies on: request.getRequestURL() Do you have some reverse proxy in front of your Tomcat? Thanks. Best regards, Jérôme
Le jeu. 27 août 2020 à 17:20, Joe Manavalan <[email protected]> a écrit : > I have cas6.1 deployed and working with cas.authn.pac4j.oauth2. The app > works fine in my local windows machine on an https port > When deployed in unix with the same setting [except the url has domain > name instead of server name] the app after authenticating with the external > oauth2 provider redirects the url to an http port as shown below > This is the redirect url configured and get successfully redirected after > authentication and authorization based on the browser trace > https:// > <domain>:<port>/cas/login/<clientName>?code=<code>&state=<state>&client_name=<clientName> > It then gets redirected to the below http port instead of the expected > https port > > http//<domain>:<port>/cas/login?code=<code>&state=<state>&client_name=<clientName> > > Is this some configuration in CAS or need to be investigated on the > network side ? > Any help appreciated > > > -- > - Website: https://apereo.github.io/cas > - Gitter Chatroom: https://gitter.im/apereo/cas > - List Guidelines: https://goo.gl/1VRrw7 > - Contributions: https://goo.gl/mh7qDG > --- > You received this message because you are subscribed to the Google Groups > "CAS Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/c9fa4862-6604-4c32-8a75-81a04f982998n%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c9fa4862-6604-4c32-8a75-81a04f982998n%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAP279Lz_k_jQenLtSjYe3TPNOD%3DStaVdub7UaF4yUpMErBTiHg%40mail.gmail.com.
