summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-12-07 15:12:37 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-12-08 19:25:42 +0100
commit790afc80bff8d76555448773e021386d8e6d1586 (patch)
tree9d8ace9ab69fcd92de08e43192e5e1e77d7acfad /client
parent7f2fed4ead6ebdcd3c05d1d3f76b92abd6c3c917 (diff)
OAuth: Remove ISS check
Too many issues with upstream servers. Needs disco v3 changes
Diffstat (limited to 'client')
-rw-r--r--client/client_test.go8
1 files changed, 1 insertions, 7 deletions
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"},
},
}