2017 © Pedro Peláez
 

flarum-extension flarum-ext-auth-wechat

Allow users to log in with Wechat.

image

yudianguo-stanleysong/flarum-ext-auth-wechat

Allow users to log in with Wechat.

  • Saturday, May 26, 2018
  • by yudianguo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

flarum-ext-auth-wechat

This plugin is for Flarum using Wechat third-party login., (*1)

image http://forum.sixbays.com/assets/images/2-NZcok3IOlGxzRCxM.png, (*2)

image http://forum.sixbays.com/assets/images/2-LdkX1knD3CjnM833.png, (*3)

image http://forum.sixbays.com/assets/images/2-HEaASxLbbmUSN8sK.png, (*4)

Setup

  1. install extension: >composer require yudianguo/flarum-ext-auth-wechat

update extension:, (*5)

composer update, (*6)

  1. config: You need to have open platform app id and secrets of wechat (https://open.weixin.qq.com) fill app id and secrets and callback url callback url is your domian with "/auth/wechat" eg. www.yourdomain.com/auth/wechat

your authrizon callback domian in https://open.weixin.qq.com can be www.yourdomain.com, (*7)

  1. fill wechat callback url, it will get back this url while login success

Notice

As wechat has not provide email, here using a random string as email, Also if your wechant nickname not using English, will replace to random string you can change it in the pop window of first time login, otherwise after login you can go to profile to change it or email., (*8)

License

The MIT License (MIT), (*9)

Copyright (c) 2017 Stanley Song, (*10)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*11)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*12)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*13)

The Versions

26/05 2018

dev-master

9999999-dev

Allow users to log in with Wechat.

  Sources   Download

MIT

The Requires

 

by Stanley Song

authentication

26/05 2018

1.0

1.0.0.0

Allow users to log in with Wechat.

  Sources   Download

MIT

The Requires

 

by Stanley Song

authentication

18/06 2017

1.0.3

1.0.3.0

Allow users to log in with Wechat.

  Sources   Download

MIT

The Requires

 

by Stanley Song

authentication

17/06 2017

1.0.2

1.0.2.0

Allow users to log in with Wechat.

  Sources   Download

MIT

The Requires

 

by Stanley Song

authentication