devtron
devtron copied to clipboard
Add SSO GitLab provider support
Summary
Add additional support for SSO GitLab provider in SSO Login Services
Motivation
Since Dex supports GitLab, it would be nice to handle this from the dashboard. Many teams use GitLab and such an option should also appear in Devtron.
Proposal
Currently, OIDC has a hardcoded ID on google
and this cannot be edited.
The best solution would be to add a separate option with a GitLab icon, as it is solved in the GitHub option.
![Screenshot 2022-07-20 at 08 55 28](https://user-images.githubusercontent.com/61278775/179916936-77ff8d26-501a-43c2-84e4-280da66e4778.png)
Configuration example:
config:
type: gitlab
name: GitLab
id: gitlab
config:
clientID: $GITLAB_CLIENT_ID
clientSecret: $GITLAB_CLIENT_SECRET
baseURL: https://gitlab.com
redirectURI: http://devtron.yourdomain.com/orchestrator/api/dex/callback
groups:
- my-group
- my-another-group