Create a new OAuth App at Github Developer:
-
Click on
New OAuth App. -
Fill in
http://localhost/oauth/github/sign-in/callbackforAuthorization callback URLand click onRegister application. -
Replace the value of
GITHUB_CLIENT_IDinbackend/.envfile withClient ID. -
Replace the value of
GITHUB_CLIENT_SECRETinbackend/.envfile withClient Secret.