Skip to content

Potential issue with internal private gitlab server #37

@bmauldin

Description

@bmauldin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions