Cannot configure Gitlab integration in IntelliJ, authentication fails
Answered
I'm trying to integrate my gitlab account into my IntelliJ IDE.
For this, I've created an access token within my gitlab account.
If I then run:
curl "https://repo.base.com/api/v4/version" --header "PRIVATE-TOKEN: {secret}"
I successfully get a proper JSON response.
When attempting to login within the IDE and the https://repo.base.com base URL and the same {secret}, by specifying them under Settings > Versioning > Gitlab, and the clicking on “Login”, I get the following response:
HTTP Request Request GET https://repo.base.com/api/v4/version failed with status code 401 and response body: {„message“:“401 Unauthorized“}
What's the problem ?
Please sign in to leave a comment.
down version to 2023.2.5 ,i met this problem when update to 2023.3.2 version
Hi,
Can you please contact our support with logs?
Please enable debug logs (Help - Diagnostic Tools - Debug Log Settings...) for the following category:
#org.jetbrains.plugins.gitlab
Then please reproduce the issue and share the entire logs folder zipped as per https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
same issue here. any updates?
Which version of gitlab are you using? We are supporting only 14.x.x and up.