Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential issue with internal private gitlab server #37

Open
bmauldin opened this issue Mar 29, 2021 · 1 comment
Open

Potential issue with internal private gitlab server #37

bmauldin opened this issue Mar 29, 2021 · 1 comment

Comments

@bmauldin
Copy link

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": "[email protected]"
}
}
}'

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?

@yuichi10
Copy link
Contributor

yuichi10 commented Apr 8, 2021

It might be better to raise an issue with screwdriver repo to get the OSS admin to notice.

https://docs.screwdriver.cd/about/contributing/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants