gitlab4j / gitlab4j-api

GitLab4J API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories via the GitLab REST API
MIT License
1.06k stars 457 forks source link

gitlab client oath is not supported #625

Open aurelianr opened 3 years ago

aurelianr commented 3 years ago

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

jabby commented 3 years ago

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.

maltem-za commented 3 years ago

The error suggests a DNS resolution failure.