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 46d78cc972..367abb52a6 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 @@ -207,7 +207,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);