1. First, go to the `Identity Providers` left menu item and select `Github` from the `Add provider` drop down list. This will bring you to the Add identity provider page.
1. To enable login with Github you first have to register an application project in [GitHub Developer applications](https://github.com/settings/developers).
1. Click the `Register a new application` button.
1. You’ll have to copy the `Redirect URI` from the "Keycloak Add Identity Provider" page and enter it into the Authorization callback URL field on the Github "Register a new OAuth application" page.
1. You will need to obtain the client id and secret from this page so you can enter them into the Keycloak "Add identity provider" page. Go back to Keycloak.
1. Enter the client id and secret.
1. Enter a default scope `user:email` and click save