Gitlab CE (On-Premise) CI integration with Drone Self Hosted

Hi guys,
I’ve used an script to run the Drone server in a EC2 Instance so I made the config in Gitlab as the manual said but I’m still having troubles to make the integration.
This is the error:

The requested scope is invalid, unknown, or malformed.

This are the config in GitLab scope
image

And the script:

GITLAB_CLIENT_ID=ThECliEntId
GITLAB_CLIENT_SECRET=ThECliEntSecret
SHARED_SECRET=pewpew
SERVER_HOST=drone.TheDomain.Com
SERVER_PROTOCOL=https

Blockquote

docker run
–volume=/var/run/docker.sock:/var/run/docker.sock
–volume=/var/lib/drone:/data
–env=DRONE_GITLAB_SERVER=https://git.TheDomain.Com
–env=DRONE_GITLAB_CLIENT_ID={GITLAB_CLIENT_ID} \ --env=DRONE_GITLAB_CLIENT_SECRET={GITLAB_CLIENT_SECRET}
–env=DRONE_AGENTS_ENABLED=true
–env=DRONE_RPC_SECRET={SHARED_SECRET} \ --env=DRONE_SERVER_HOST={SERVER_HOST}
–env=DRONE_SERVER_PROTO=${SERVER_PROTOCOL}
–env=DRONE_TLS_AUTOCERT=true
–publish=80:80
–publish=443:443
–restart=always
–detach=true
–name=drone
drone/drone:1

the oauth application settings look incorrect. I recommend double-checking your oauth application settings and comparing them with the documentation:
https://docs.drone.io/installation/providers/gitlab/#step-1-preparation