-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm trying to migrate screwdriver in my organization from an internal private github server to an internal private gitlab server. I'm on latest stable docker versions of screwdriver docker images:
screwdriver api: v4.1.66
screwdriver ui: v1.0.604
screwdriver store: v4.1.1
I've tried to setup auth to use gitlab, but when trying to login via gitlab oath endpoint, gitlab opens in pop up window but display error:
An error has occurred
The redirect URI included is not valid.
SCM settings are as so:
'{
"gitlab": {
"plugin": "gitlab",
"config": {
"oauthClientId": "oathclientid1234abcd",
"oauthClientSecret": "oathclientsecret1234abcd",
"secret": "ASECRET",
"gitlabHost": "gitlab.company.com",
"gitlabProtocol": "https",
"https": "true",
"username": "sd-buildbot",
"email": "user@company.com"
}
}
}'
Oath Application in gitlab:
callback URL: https://ourinternalscrewdriver.com
scopes:
api, read_user, read_api, read_repository, write_repository, read_registry, write_registry, sudo, openid, profile, email.
Any suggestions or anything wrong?