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:
    1. Create a CDS application on GitHub
    2. 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"