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:
bundle.467f732….js:2492

Object

message: “User not authorized”

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.