gitlab4j-api
gitlab4j-api copied to clipboard
gitlab client oath is not supported
Hello
I have just tried to access my gitlab account using the gitlab4j:
GitLabApi gitLabApi = GitLabApi.oauth2Login("https://gitlab.com", username, password);
and i have received the following error:
org.gitlab4j.api.GitLabApiException: java.net.UnknownHostException: gitlab.com
Could you tell me if you are supporting the authentication for github.com server?
Best Regards, Aurelian
Hello @aurelianr what do you mean exactly Could you tell me if you are supporting the authentication for github.com server?
GitLab and GitHub are two different services with 2 different API.
The error suggests a DNS resolution failure.