diff --git a/test/integration/oidc/test_auth_oidc.py b/test/integration/oidc/test_auth_oidc.py index 151dfa1db816..1674e9353079 100644 --- a/test/integration/oidc/test_auth_oidc.py +++ b/test/integration/oidc/test_auth_oidc.py @@ -225,6 +225,8 @@ def test_oidc_login_existing_user(self): parsed_url = parse.urlparse(response.url) provider = parse.parse_qs(parsed_url.query)["connect_external_provider"][0] assert "keycloak" == provider + + # user should not have been logged in response = self._get("users/current") assert "id" not in response.json()