diff --git a/test/integration/oidc/test_auth_oidc.py b/test/integration/oidc/test_auth_oidc.py index 10268225ef29..151dfa1db816 100644 --- a/test/integration/oidc/test_auth_oidc.py +++ b/test/integration/oidc/test_auth_oidc.py @@ -226,7 +226,7 @@ def test_oidc_login_existing_user(self): provider = parse.parse_qs(parsed_url.query)["connect_external_provider"][0] assert "keycloak" == provider response = self._get("users/current") - self._assert_status_code_is(response, 400) + assert "id" not in response.json() def test_oidc_login_account_linkup(self): # pre-create a user account manually