Drone on Gitlab fails at API granting (SOLVED)


I had the gitlab address with http instead of httpS … my fault. :slight_smile:


I used image: drone/drone:0.8

The callback works first and I can login. Then Gitlab ask for confirming API access. Once I press authorize I receive the yellow message “The system failed to process your Login request.”

BTW I noticed that the keys provided by gitlab are much longer than those in your documentation.

Browser log:

  1. Object

  2. message: “User not authorized”

  3. status: 401

Message before it fails:
An application called drone is requesting access to your GitLab account. This application was created by xxxx. Please note that this application is not provided by GitLab and you should verify its authenticity before allowing access.

This application will be able to:

  • Access the authenticated user’s API

Grants complete read/write access to the API, including all groups and projects.


PS: Same setup work on github.