Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 949 Bytes

File metadata and controls

25 lines (15 loc) · 949 Bytes

Github setup tutorial

Create a github application

Go to Github apps page then create an app by clicking the following button:

Github create button

You will go to this page:

Github create app page

You need to fill the following fields:

  • Application name: anything you want, it will be showed to your users
  • Homepage URL: the url of your front end web application
  • Authorization callback URL: https://YOURAPIDOMAIN.COM/services/github/oauth

Get .env values

After creating the application you will need the followings data from the application page:

Github app page with keys

Use the Client ID field in the page for the variable GITHUB_CLIENT_ID in the .env file. Use the Client Secret field in the page for the variable GITHUB_CLIENT_SECRET in the .env file.