Github login setup

Setting up Social Login requires establishing a trusted relationship between Strivacity and Github.

GitHub social login provider on login flow

Step 1: Configuring a Github App in the Github Console

To setup Github Sign for use as a social login provider, follow these steps.

1) Begin by logging into your Github profile, and click on the Profile icon and then click Settings

Now click Developer Settings, as shown in the screenshot below:

Click to Enlarge

2) Next, from within Developer Settings, click New Github App from the top right hand corner as shown below:

Click to Enlarge

3) Within the Register new Github App screen, complete the following information as shown in the table below:

Github App nameThe name of your Github Application
DescriptionThe description that is displayed to the users of your Github Application
Homepage URLThis is the URL of your Strivacity instance
User authorization callback URLThe full URL to redirect to after a user authorizes an installation. This will be: https://\[Strivacity instance URL]/provider/continue
Webhook: ActiveDeactivate the Webhook Active option

4) Next, click Create Github App at the bottom of the screen (without changing any other options)

5) Now click on Generate a new client secret, as shown below:

Click to enlarge

Step 2: Configuring GitHub sign-in within Strivacity

Following these steps will finalize your setup for using Github Sign-in as a social login provider with Strivacity (and your application).

1) Start by logging into the Admin Console using an admin account

2) From the left-hand menu, select External Login, then Social Login

3) From the Social Login screen, click the + Create Provider button from the top right hand corner as shown below:

Social login provider screen

4) From the Create Social Login Provider screen click the Github icon as shown below:

Create social login provider

5) The Create Github Login Provider screen will now be displayed as shown below:

GitHub social login provider screen

6) Next, copy the ClientID and Client Secret from the Github App Configuration - Step 5 as detailed above, and paste the respective values into the Client ID and Client Secret fields.

Strivacity can use the GitHub Basic Profile and Email Address Profile attributes of the customers profile.

If you choose to synchronize and store this social profile data at each login, then Strivacity will retrieve and store this information which will be visible to the customer in the My Account page, and to any Strivacity Admin's when managing the customer identity.