How to Create a Github OAuth App

  • Click on your profile picture in the top right corner, then select Settings.
  • In the left sidebar, click on Developer Settings.
  • In the left sidebar, select OAuth apps.
  • Click on the New OAuth App button. (Note: If you haven’t created an OAuth application yet, it will say “Register a new application.”)
How to Create a Github OAuth App
  • In the Application name field, enter Enji.ai.
  • In the Homepage URL field, enter the link to the Enji application – https://companyname.enji.ai/. (Slash at the end is mandatory.)
  • Optionally, in the Application description field, enter a brief text.
  • In the Authorization callback URL field, enter https://companyname.enji.ai/api/v1/me/account/github/. (Slash at the end is mandatory.)
  • You don’t need to check the Enable Device Flow checkbox.
  • Register the OAuth application.
How to Create a Github OAuth App

After successful registration, Github will provide variables for GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET. You need to place these variables in the backend of the Enji.ai application.

ENJI
Enji.ai