diff --git a/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabOAuthAuthenticator.java b/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabOAuthAuthenticator.java index 70aac54da6..13ec10ba1a 100644 --- a/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabOAuthAuthenticator.java +++ b/legend-sdlc-server/src/main/java/org/finos/legend/sdlc/server/gitlab/auth/GitLabOAuthAuthenticator.java @@ -211,7 +211,7 @@ private Optional getRedirectUrlFromResponse(CloseableHttpResponse respon { String responseString = EntityUtils.toString(response.getEntity()); Document doc = Jsoup.parse(responseString); - Element header = doc.getElementsByTag("h3").get(0); + Element header = doc.getElementsByClass("page-title").get(0); if ("Redirecting".equals(header.text())) { Element anchor = doc.getElementsByTag("a").get(0);