From f911b36e7999e872395532f7cc36985a8ab1bb71 Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Mon, 2 Oct 2017 11:29:17 +0200 Subject: [PATCH 1/2] allow for local docker testing Signed-off-by: Hans Zandbelt --- test/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helpers.js b/test/helpers.js index 2e0a98b..fb912ac 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -144,13 +144,13 @@ async function configure(type) { 'tool:discover': 'True', 'tool:webfinger': 'True', 'tool:return_type': type, - 'tool:webfinger_email': `acct:foobar@${url.parse(ISSUER).hostname}`, + 'tool:webfinger_email': `acct:foobar@${url.parse(ISSUER).hostname}:${url.parse(ISSUER).port}`, 'tool:webfinger_url': `${ISSUER}/foobar`, 'tool:acr_values': 'session urn:mace:incommon:iap:bronze', 'tool:claims_locales': '', 'tool:enc': 'True', 'tool:extra': 'True', - 'tool:insecure': 'False', + 'tool:insecure': 'True', 'tool:login_hint': 'bob@example.com', 'tool:none': 'True', 'tool:profile': '', From 8231082faa2a42d1e1996802299b71520954902e Mon Sep 17 00:00:00 2001 From: Hans Zandbelt Date: Mon, 2 Oct 2017 11:29:17 +0200 Subject: [PATCH 2/2] allow for local docker testing Signed-off-by: Hans Zandbelt --- test/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helpers.js b/test/helpers.js index f85f65a..cee3bb8 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -150,13 +150,13 @@ async function configure(profile) { } } }).join(' '), - 'tool:webfinger_email': `acct:foobar@${url.parse(ISSUER).hostname}`, + 'tool:webfinger_email': `acct:foobar@${url.parse(ISSUER).hostname}:${url.parse(ISSUER).port}`, 'tool:webfinger_url': `${ISSUER}/foobar`, 'tool:acr_values': 'session urn:mace:incommon:iap:bronze', 'tool:claims_locales': '', 'tool:enc': 'True', 'tool:extra': 'True', - 'tool:insecure': 'False', + 'tool:insecure': 'True', 'tool:login_hint': 'bob@example.com', 'tool:none': 'True', 'tool:profile': '',