banner
李大仁博客

李大仁博客

天地虽大,但有一念向善,心存良知,虽凡夫俗子,皆可为圣贤。

Enable Github third-party login function for WeCenter

WeCenter is a knowledge-based social Q&A community program that focuses on organizing, categorizing, and retrieving community content, and distributes it through connecting with WeChat Official Accounts and mobile apps.

Since the website is a technical support community and requires the use of Github's third-party login functionality, the official WeCenter does not support Github's third-party login. Therefore, we decided to develop our own solution. Based on Google's Oauth code, we have implemented the Github third-party login functionality, allowing users to log in to the WeCenter Q&A system using their Github accounts.

Test URL: http://faq.android-charts.com/ For the implemented functionality and demonstration, please refer to the attached image.

Modified source code repository: https://github.com/limccn/wecenter/tree/faq.android-charts-beta This branch also includes other modifications. For Github-specific 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 the 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

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