Hi Janos,
You mention configuration:
domain = jkl.deIs this the domain setting in the
[session-cookie-domains] stanza?
If any entry is set in this stanza, only hosts within that domain will be able to set a session cookie. To allow things to work properly you must either remove all entries, or make sure that you have entries to cover all the domains you will use.
Unless you specifically want sessions to be shared across hosts in the same domain, I would recommend removing all domain entries. It might be a good idea anyway for troubleshooting purposes.
As an aside: If you want to allow single sign-on between hosts, and you have hosts in different domains, you should probably be looking at a pattern that includes a central Identity Provider with federation (SAML or OpenID Connect) used to assert identity to other domains.
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
------------------------------
Original Message:
Sent: Fri June 12, 2020 09:09 AM
From: Janos Laszlo Horvath
Subject: TOTP solution for multiple
Hello Jon,
Thank you for your answer. This configuration setting is already set to "no" /match-vhj-first / . As we recognized TOTP is working only for VHJs where domain is matching.
Example:
VHJ abc.fgh.de --> not working (fgh <> jkl)
VHJ *.com / *.edu etc --> not working
VHJ abc.jkl.de --> working (jkl.de = jkl.de)
In relevant RP:
domain = jkl.de
web-host-name = servername.jkl.de
match-vhj-first = no
------------------------------
Janos Laszlo Horvath
------------------------------
Original Message:
Sent: Thu June 11, 2020 06:41 AM
From: Jon Harry
Subject: TOTP solution for multiple
Hello Janos,
If your TOTP is working for the "base" domain of your Reverse Proxy but not for the Virtual Host Junctions, it may be because you need to set this configuration parameter:
match-vhj-first = no
This parameter tells the Reverse Proxy to match on standard junctions first which means that you can still access /mga/.... even if you're connecting to the Virtual Host associated with a Virtual Host Junction.
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM