]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Add tests of using portal-userauthcookie to continue through gateway
authorDaniel Lenski <dlenski@gmail.com>
Thu, 20 May 2021 01:35:55 +0000 (18:35 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Tue, 15 Jun 2021 17:24:19 +0000 (10:24 -0700)
commit4f327da9f318c7a707ab6dec5dc9fafa143f6452
tree6df9291cca8b79d206a6087ceaf4ad0124d38993
parent584d3c8bb102d9798feaa3e02f61951d79b1e63a
Add tests of using portal-userauthcookie to continue through gateway

This test sets up fake-gp-server.py to require a one-time password on the
portal *and* on the gateway, and to set 'portal-userauthcookie' after
successful login to the gateway.  For OpenConnect to successfully login
within prompting for a second password, the 'portal-userauthcookie' value
from the portal must be forwarded to the gateway login request.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
tests/fake-gp-server.py
tests/gp-auth-and-config