Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Isango - MyBB Social Login (oAuth2)
#1
Star 
Isango
MyBB Simple Social Login / Registration Plugin Using OAuth2



Compatibility
  • MyBB 1.8.x
  • PHP 7.1+
Implemented Features
  • Users can login / register through several social gateways in a click.
  • Currently supported: Discord, Facebook, Github, Google, LinkedIn, Microsoft, Yandex. New services will be added to the plugin over time; however (advanced) users can easily implement other services by creating configuration .ini of the expected service in required pattern (no programming needed). Once a configuration file is created and placed inside inc/plugins/isango folder only re-anabling the plugin will activate the new service with the plugin. We welcome any addition, share you .ini files and make this plugin even better!
  • Administrators can choose the usergroup from ACP Plugin Settings under which the new users will be registered and placed, defaults to Registered (gid 2).
  • Users can add the authentication connections from user control panel which will help them logging in using the already registered services.
  • This plugin, by design, doesn't store access token obtained from providers so that in case of a database compromise your social accounts still remain secure!
Planned features so far
  • Optional ability to allow new users to input desired username while registering with Isango. Currently the plugin attempts to decide a suitable username based on available data received from the used service.
  • Ability to send automated welcome private message to the newly registered user intimating the random password used to register the account.
  • Adding more services to the plugin.

Installation
  • Exactly same like any other plugins. Users need to upload the files inside upload folder of the package maintaining the already made structure using any FTP / WebDav and install / activate the plugin from ACP.
  • Users need to create App for the website at the service provider's developer site to obtain App ID / Secret which are required to input through MyBB ACP Plugin settings. For detail guidelines on creating App for individual service providers please refer Wiki.

External Dependency
  • No external OAuth library has been used in this plugin. It has been implemented complying minimum possible OAuth2 requirements.


Feel free to report any bug or let us know you feedback! Enjoy!

DOWNLOAD via MyBB Extend site




Coded by MyBB Group - GitHub sources: https://github.com/mybbgroup/Isango

Official MyBB Group website to get a free support: https://mybb.group/
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#2
Version 1.1.0 released with security patches outlined by @shade (thanks)
Please update.
[Image: logo.svg.svg]
Reply
#3
What are the Oauth redirect urls we use for this plugin?  These were what I have been using with the OneAll social login plugin.

Discord
https://iandrew-org.api.oneall.com/socialize/callback.html

GitHub
https://iandrew-org.api.oneall.com/
[Image: sig2.jpg]
Reply
#4
For all gateways it is:
http(s)://{$your_site}/member.php?action=login&gateway={$gateway}

For example, if your site is iandrew.com and you are making app for google, the redirect url you have to set is:
https://iandrew.com/member.php?action=login&gateway=google

For those providers who don't allow fragmented callback url, just set:
https://iandrew.com/member.php

... and it will all work good.
[Image: logo.svg.svg]
Reply
#5
That  kind of fixed it but now GitHub is showing this error after authorization.
"Returned data from the provider is not verified. Please pass verification of your account data at provider's end and try back."

Discord shows this.
"Failed to receive token data from 'Discord' (status code: 401). Please contact Administrator."

Also the buttons show as using the a.button class on desktop but your own custom buttons for mobile.

Desktop
https://i.postimg.cc/JzNLyV4k/Screenshot-1.jpg

Mobile
https://i.postimg.cc/JhRWZ6Gd/Screenshot-2.jpg
[Image: sig2.jpg]
Reply
#6
Regarding the Github issue; your profile has email set as private and the plugin needs an email in return data (as of now atleast). Please uncheck "Keep my email address private" at Github settings > email so that Github returns an email.

The Discord issue appears generic and possibly you have some error in your app setup. We will be writing wiki on making apps per gateway soon.

The buttons are purely CSS. Please edit isango.css created and attached with your theme for customizing appearance of buttons.
[Image: logo.svg.svg]
Reply
#7
Same error with Github even with my email set as public. Discord seems fixed now.
[Image: sig2.jpg]
Reply
#8
(08-23-2019, 06:37 PM)iAndrew Wrote: Same error with Github even with my email set as public. Discord seems fixed now.

Please replace and use the attached config files.


.zip   Configs.zip (Size: 549 bytes / Downloads: 14)
[Image: logo.svg.svg]
Reply
#9
Discord and GitHub are now skipping the authorization page and just logging in as my default MyBB login.
[Image: sig2.jpg]
Reply
#10
Isn't it the desired behavior?
Once you accept the app it will register / log you in silently.

Edit: I have registered to your site using Github and also connected Discord as additional gateway. Checked both login. Its all working fine for me.
[Image: logo.svg.svg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)