Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This guide outlines the steps to configure OAuth2 authentication for the GitHub integration in your CDCM application.

...

By following these instructions, you'll enable your users to seamlessly connect their GitHub accounts and access their repositories within CDCM.

Create OAuth

...

Application in Github

  1. Find Developer Settings: Locate the "Developer settings" link in the sidebar menu.

...

  1. Access OAuth Apps: Navigate to the "OAuth Apps" section under the "GitHub Apps" menu.

  2. Create New OAuth App: Click the "New OAuth App" button to begin the process of registering a new OAuth application.

...

  1. Configure OAuth App Details: Fill out the required fields:

  2. Register the Application: Click the "Register application" button to complete the process.

  3. Generate a new client secret: After the application is registered you get a client ID and can create a client secret. You will need both when you configure connection routing in cdcm.

...

(warning) Make sure to set the Authorization

...

Callback URL correctly:

The format for the Authorization callback URL should be:

...

The external-login/oauth2-redirect/ part of the URL is a predefined path that your CDCM application is expecting the GitHub OAuth flow to redirect to after a successful authentication.

Connection

...

Routing

After the oauth application was registered in github the connection routing configuration yml can be updated.

...