Title: "Enabling Github Third-Party Login Functionality in WeCenter"
- "Open Source"
- "Source and Coding"
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: http://faq.android-charts.com/ Please refer to the attached images for the implemented functionality and demonstration.
Modified source code: https://github.com/limccn/wecenter/tree/faq.android-charts-beta This branch also includes other modifications. For Github modifications, please refer to the following commit record: https://github.com/limccn/wecenter/commit/06b6105ac4f13d5f892b718c6c60f84cb2db5b94 Your valuable feedback and suggestions are welcome. TODO: 1. Add Github login icons and icons. 2. Adjust binding and unbinding functionality. Github related documentation: https://developer.github.com/v3/oauth/
The modified content has been submitted to the official WeCenter community: http://wenda.wecenter.com/question/31115