Enable Github third-party login functionality for WeCenter.

Title: "Enabling Github Third-Party Login Functionality in WeCenter"
Date: "2017-02-27"

  • "Open Source"
  • "Source and Coding"
  • "Github"
  • "OAuth"
  • "WeCenter"

WeCenter is a knowledge-based social Q&A community program that focuses on organizing, categorizing, and retrieving community content, and distributes it through connections to WeChat public platforms and mobile apps.

Since the website is a technical support community that requires the use of Github's third-party login functionality, the official WeCenter does not support Github's third-party login. Therefore, I have written my own implementation. Based on Google's OAuth code, I have successfully implemented Github third-party login functionality, allowing users to log in to the WeCenter Q&A system using their Github accounts.

Test website: Please refer to the attached images for the implemented functionality and demonstration.

Modified source code: This branch also includes other modifications. For Github modifications, please refer to the following commit record: Your valuable feedback and suggestions are welcome. TODO: 1. Add Github login icons and icons. 2. Adjust binding and unbinding functionality. Github related documentation:

The modified content has been submitted to the official WeCenter community:

Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.