opentype Posted January 15, 2015 Posted January 15, 2015 Do you guys can set up the social media logins for your 4.0 site?I both get rejections in the ACP when setting up Google and Twitter. I followed the instructions and I don’t think I screwed it up twice. Are there any special server requirements for making the API calls? What else could cause problems? Can the site still be hidden behind htaccess protection?
Starship Posted January 17, 2015 Posted January 17, 2015 Facebook works fine, but not Twitter and Google. I tried regenerate keys, seme error. I register new twitter account and create new API, same again.
LuckyRiver Posted January 19, 2015 Posted January 19, 2015 Haven't tried twitter. Google+ rejects. Microsoft and Facebook handlers are working fine though!
LuckyRiver Posted January 29, 2015 Posted January 29, 2015 Does anyone succeed to get google+ api working? Still not working with beta6? Is there something I misconfigured. Followed the guide and recreate key twice! Still got rejected!
opentype Posted January 29, 2015 Author Posted January 29, 2015 Twitter started working with beta 6, Google+ still fails.
LuckyRiver Posted January 29, 2015 Posted January 29, 2015 Yes, twitter works, somehow at sign up it did ask you to enter your email address once you agreed to authorized the API to retrieve your info. Should this done automatically by the API without asking user to enter again? I don't recall login via facebook asks you to do that? May be I overlook some configuration in twitter API or it is designed that way? Will check to see my own API calls requires that! Do need google+ API working though? Hope this will be fixed soon!
opentype Posted January 29, 2015 Author Posted January 29, 2015 Do need google+ API working though? Hope this will be fixed soon!I guess someone should file a bug and provide access data to a test installation. Not sure this topic alone will do it.
LuckyRiver Posted February 10, 2015 Posted February 10, 2015 Confirm that beta 8 fixed the google plus login handler! Thanks, have been waiting for this!
LuckyRiver Posted February 11, 2015 Posted February 11, 2015 Guess I was too fast, yes in admincp, activate google + it works but when sign in via google plus, I got the following error: Any idea what I did wrong?
LuckyRiver Posted February 11, 2015 Posted February 11, 2015 Updated: I fixed the error message by removing the www in the google redirect uri field.Still when sign in via google+, it brings me back to the home page but still not logged in???Any pointer? Look at errors logs, there is none! More updated:Figured out that I had an index.html which has a redirect preventing the call to terminate. Deleting it, now when I logged in, I have an EX1048 error. It says something about dname_previous can't be null. How to fix this? Below is the trace : more latest_sql.cgiWed, 11 Feb 2015 04:28:37 +0000 (Severity: 0)xxx.xxx.xxx.xxx - http://site.com/index.php?/login/&loginProcess=google&state=#############################&code=##########################################################Column 'dname_previous' cannot be nullINSERT INTO `ipb_core_dnames_change` ( `dname_member_id`, `dname_date`, `dname_ip_address`, `dname_previous`, `dname_current`, `dname_discount` ) VALUES ( ?, ?, ?, NULL, ?, ? )Array( [0] => ## [1] => ########## [2] => xxx.xxx.xxx.xxx [3] => [4] => GmailUser [5] =>) | File |Function |Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | /system/Db/Db.php |[IPS\Db\_Exception].__construct |394 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Db/Db.php |[IPS\_Db].preparedQuery |608 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Member/Member.php |[IPS\_Db].insert |338 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /applications/core/sources/ProfileSync/ProfileSyncAbstract.php |[IPS\_Member].save |239 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Login/Google.php |[IPS\core\ProfileSync\_ProfileSyncAbstract].sync |146 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Login/Login.php |[IPS\Login\_Google].authenticate |313 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /applications/core/modules/front/system/login.php |[IPS\_Login].authenticate |46 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Dispatcher/Controller.php |[IPS\core\modules\front\system\_login].manage |94 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /system/Dispatcher/Dispatcher.php |[IPS\Dispatcher\_Controller].execute |129 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | /index.php |[IPS\_Dispatcher].run |13 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'------------------------------------------------------------------------
Mark H Posted February 11, 2015 Posted February 11, 2015 Please report your observations to the bug tracker.Thank you!
LuckyRiver Posted February 11, 2015 Posted February 11, 2015 Please report your observations to the bug tracker.Thank you!Done, I wasn't sure it was a bug to do so. Now, I can reproduce it. Note, the login handler works fine, I can login. It just that error message showed up at very first time you tried to sign in via google + .
Guest Posted February 17, 2015 Posted February 17, 2015 Just a quick question - How hard are these sign in methods to implement? I'm thinking of setting up a forum, but would need Github as a sign in option.
Mark Posted February 17, 2015 Posted February 17, 2015 Just a quick question - How hard are these sign in methods to implement? I'm thinking of setting up a forum, but would need Github as a sign in option. That's a difficult question to answer... any custom ones like Github you'd need to code yourself, but could follow the examples of the others. They're quite straightforward for a competent PHP developer.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.