GitHub Authentication

The GitHub Authentication Integration have to be configured on your CDS by a CDS Administrator.

This integration allows you to authenticate user with the GitHub Authentication.

Resume on what you have to do before using the GitHub Authentication Integration

  1. As a CDS Administrator:
  2. Create a CDS application on GitHub
  3. Complete CDS Configuration File

How to configure GitHub Authentication integration

Create a CDS application on GitHub

As a CDS Administrator

Go to https://github.com/settings/developers and Register a new OAuth application. Set :

Example for a local configuration:

Integration GitHub New OAuth App

Click on Register Application, then on the next page, GitHub give you a Client ID and a Client Secret

Complete CDS Configuration File

Edit the toml file:

[api.auth.github]

      #######
      # GitHub API URL
      apiUrl = "https://api.github.com"

      #######
      # GitHub OAuth Client ID
      clientId = "xxxx"

      # GitHub OAuth Client Secret
      clientSecret = "xxxx"
      enabled = true
      signupDisabled = false

      #######
      # GitHub URL
      url = "https://github.com"