Try Devtron Enterprise!
Start Free Trial
LogoLogo
WebsiteDevtron demoGithub RepoJoin Discord
v0.4
v0.4
  • Overview
  • Devtron
    • Setup
      • Installing Devtron
        • Install Devtron with CI/CD integration
        • Install Devtron
        • Installation Configurations
        • Override Configurations
        • Ingress setup for devtron installation
      • Devtron Integrations
      • Global Configurations
        • GitOps
        • Git Accounts
        • Container Registries
        • Chart Repositories
        • Custom Charts
        • Cluster And Environments
        • Projects
        • SSO Login Service
        • Authorization
          • User Permissions
          • Permission Groups
          • API Tokens
        • Manage Notification
        • Deploy a sample App
        • External links
      • Devtron Upgrade
        • Update Devtron from Devtron UI
        • 0.4.x-0.4.x
        • 0.3.x-0.4.x
        • 0.3.x-0.3.x
        • 0.2.x-0.3.x
    • User Guide
      • Creating Application
        • Git Repository
        • Docker Build Configuration
        • Deployment Template
          • Rollout Deployment
          • Job and Cronjob
        • Workflow
          • CI Pipeline
            • Pre-Build/Post-Build tasks
          • CI Pipeline (Legacy)
          • Automated test suite integration in CI
          • CD Pipeline
        • Config Maps
        • Secrets
        • Environment Overrides
        • Application Metrics
      • Application Details
      • Cloning Application
      • Deploying Application
        • Triggering CI
        • Triggering CD
      • Deploy Chart
        • Overview Of Charts
        • Charts Create Update Upgrade Deploy Delete
        • Chart Group Create Edit And Deploy
        • Examples
          • Deploying Mysql Helm Chart
          • Deploying MongoDB Helm Chart
      • Debugging Deployment And Monitoring
      • Namespaces And Environments
      • Security Features
      • Deleting Application
      • Bulk Update
      • Command Bar
      • Use Cases
        • Devtron Generic Helm Chart To Run Cron Job Or One Time Job
        • Connect SpringBoot with Mysql Database
        • Connect Expressjs With Mongodb Database
        • Connect Django With Mysql Database
      • Telemetry Overview
    • FAQs & Troubleshooting
      • Devtron Troubleshooting
Powered by GitBook
On this page
  • Overview
  • Supported SSO Providers
  • 1. Create new SSO Configuration
  • 2. Update SSO Configuration
  • 3. Configuration Payload

Was this helpful?

Export as PDF
  1. Devtron
  2. Setup
  3. Global Configurations

SSO Login Service

Overview

Once installed Devtron has one built-in admin user with super-admin privileges that has complete access to the system. It is recommended to use admin user only for initial and global configuration and then switch to local users or configure SSO integration.

Only users with super-admin privileges have access to create SSO configuration. Devtron uses dex for authenticating a user against the identity provider.

To add/edit SSO configuration please go to the left main panel -> Select Global Configurations -> Select SSO Login Services

Supported SSO Providers

LDAP GitHub OpenID Connect Google Microsoft OpenShift

Dex implements connectors that target specific identity providers, for each connector configuration user must have created account for the corresponding identity provider and registered an app for client key and secret. For examples see

  • https://dexidp.io/docs/connectors/

  • https://dexidp.io/docs/connectors/google/

1. Create new SSO Configuration

Login as a user with super-admin privileges and go to Global Configurations -> SSO Login Services and click on any Identity Provider and fill the configuration.

Add valid devtron application URL where it is hosted.

Fill correct redirect URL or callback URL from which you have registered with the identity provider in the previous step along with the client id and client secret shared by the identity provider.

Only single SSO login configuration can be active at one time. Whenever you create or update any SSO config, it will be activated and used by the system and previous configurations will be deleted.

Except for the domain substring, URL and redirectURI should be the same as in the screenshots.

Select Save to create and activate SSO login.

2. Update SSO Configuration

SSO configuration can be changed by the user at any later point in time by updating the configuration and clicking on the Save button at the bottom right. In case of configuration change all users will be logged out of the system and will have to login again.

3. Configuration Payload

  • type : oidc or any platform name such as (google, gitlab, github etc)

  • name : identity provider platform name

  • id : identity provider platform unique id in string. (refer to dexidp.io)

  • config : user can put connector details into this key. platforms may not have same structure but commons are clientID, clientSecret, redirectURI.

  • hostedDomains : domains authorized for SSO login.

PreviousProjectsNextAuthorization

Last updated 2 years ago

Was this helpful?