From 790afc80bff8d76555448773e021386d8e6d1586 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Thu, 7 Dec 2023 15:12:37 +0100 Subject: OAuth: Remove ISS check Too many issues with upstream servers. Needs disco v3 changes --- client/client_test.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'client') diff --git a/client/client_test.go b/client/client_test.go index b39b289..15b81a1 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -191,7 +191,6 @@ func TestConnectOAuthParameters(t *testing.T) { const ( callbackParameterErrorPrefix = "failed retrieving parameter '" callbackStateMatchErrorPrefix = "failed matching state" - callbackISSMatchErrorPrefix = "failed matching ISS" ) serverURI := getServerURI(t) @@ -208,12 +207,7 @@ func TestConnectOAuthParameters(t *testing.T) { // invalid state { callbackStateMatchErrorPrefix, - httpw.URLParameters{"iss": iss, "code": "42", "state": "21"}, - }, - // invalid iss - { - callbackISSMatchErrorPrefix, - httpw.URLParameters{"iss": "37", "code": "42", "state": "21"}, + httpw.URLParameters{"code": "42", "state": "21"}, }, } -- cgit v1.2.3