Drone And GitLab integration gives "The redirect URI included is not valid."

Hi,

I installed drone RPM on my cent OS machine locally. then i did modify the /etc/drone/drone.toml with the below configuration.

[server]
port=":7777"
[gitlab]
url=“http://10.203.155.115
client=“761c3a7271b7843b053ececf9907da7b1ea38e775ffb9a7e972ea4eaad879042”
secret=“e9a094447a77e4724752dbb5aebd2efc6fa6f76dec963eb618dace8b39c04334”
skip_verify=true
open=true

GitLab configuration

Application: Drone

Application Id 761c3a7271b7843b053ececf9907da7b1ea38e775ffb9a7e972ea4eaad879042
Secret: e9a094447a77e4724752dbb5aebd2efc6fa6f76dec963eb618dace8b39c04334
Callback url http://100.203.155.110:7777/authorize
Trusted Y
Scopes * api (Access the authenticated user’s API)
  • read_user (Read the authenticated user’s personal information)
  • sudo (Perform API actions as any user in the system (if the authenticated user is an admin))
  • openid (Authenticate using OpenID Connect)|

But when try to open the Drone URL i get “The redirect URI included is not valid.”

Can any one tell me whats missing here
Regards,
RSKavuri

It sounds like you are using a very old version of Drone. The TOML configuration has not been supported for a very long time (since Drone 0.3, I think). I recommend using our official installation instructions and installing the latest 0.8 version http://docs.drone.io/installation/

Hi Bradrydzewski,

Thanks for the prompt response and your suggestion did work for me.
once a big thanks for your help.

Regards,
RKavuri