Skip to content
  • There are no suggestions because the search field is empty.

Allow learners to sign up with their GitHub accounts 

On the Learnyst platform, you can let your students join your school using their GitHub accounts, similar to Google and Facebook accounts. 

  • To allow your learners to sign up using their GitHub account, log in as an admin and go to Websites & Apps > Sign Up Settings

    Allow your learners to sign up with their GitHub accounts in step 1
  • Now select the GitHub option.

    Allow your learners to sign up with their GitHub accounts in step 2
  • Here, you need to enter your GitHub client ID and client secret code.

    Allow your learners to sign up with their GitHub accounts in step 3
  • To get this information, go to your GitHub account's settings. 

    Allow your learners to sign up with their GitHub accounts in step 4
  • You will arrive at this page; now scroll down and Click the Developer Settings. 

    Allow your learners to sign up with their GitHub accounts in step 5
  • Then, navigate to GitHub Apps and click the New GitHub App button. 

    Allow your learners to sign up with their GitHub accounts in step 6

  • Here, enter the Application name, Homepage URL, and Authorisation callback URL. 
    • Enter any name in the Application name field.
    • Enter your school's URL in the Homepage URL.
    • Copy and paste the GitHub redirection URL from your school into the Authorization callback URL.
    Allow your learners to sign up with their GitHub accounts in step 7
    Allow your learners to sign up with their GitHub accounts in step 8
  • Once you've input the necessary information, enable the Device flow.

    Allow your learners to sign up with their GitHub accounts in step 9

  • Then, inactivate webhook.

    13-Allow your learners to sign up with their GitHub accounts in step 10
  • Then select the Account permission under the permissions.

    Allow your learners to sign up with their GitHub accounts in step 11
  • Here, provide read-only access to the email addresses. 

    Allow your learners to sign up with their GitHub accounts in step 12
  • Once you have provided access,  select the Any account and click the "Create GitHub App" button.
  • You will now be on this page. Here you can see the Client ID. Copy and paste it into the "GitHub Client ID" field. 

    Allow your learners to sign up with their GitHub accounts in step 13
  • To get the Client secret code, click the Generate a new client secret button.

    Allow your learners to sign up with their GitHub accounts in step 14
  • When you click the button, you will receive the client secret code. Copy the code and paste it into the GitHub client secret field. On this page, you can also upload a new logo.
  • You will get another new client secret if you click the generate button again.

    Allow your learners to sign up with their GitHub accounts in step 15
  • Now return to your school and enable the GitHub Sigh Up option, then enter your GitHub client ID and secret into the appropriate fields.
  • Once you are done with this page, click the Save button.

    Allow your learners to sign up with their GitHub accounts in step 16
  • Your students can now use their GitHub accounts to sign up for your school. 

    Allow your learners to sign up with their GitHub accounts in step 17