External Accounts Extended

External Accounts Extended 2018-03-02

No permission to download
Question. Is there anyway so that if someone signs up with a service, it automatically puts there name in the custom user field?
 
Could you add windows live ID signup or sony login?
Windows Live is coded and done! It will be named as simply 'Live' since it's used for many of Microsoft's applications.

The Sony login implementation might be tricky, because I'm not sure where you can create an application for credentials.
I found a script that works here: https://github.com/ilendemli/gumer-psn-php
However, it seems it's using someone else's credentials and I would prefer allowing admin's to create their own.

The issue is, I have no idea where to sign up for said credentials. I'm calling their support to see if they can help.
 
I am the one with the redirect issue -- is anyone else getting a bunch of 303 too-many-redirect errors when they use linked-in? I can replicate it if the user is already logged into linked-in, but not XF.
 
I am the one with the redirect issue -- is anyone else getting a bunch of 303 too-many-redirect errors when they use linked-in? I can replicate it if the user is already logged into linked-in, but not XF.
I want to figure out how to fix this but if nobody else is experiencing the issue, I'm not sure what I can do. I have been unable to replicate it even with your help to replicate the issue D:
 
I want to figure out how to fix this but if nobody else is experiencing the issue, I'm not sure what I can do. I have been unable to replicate it even with your help to replicate the issue D:

Thanks Silence, i know it is tough. It looks like it keeps trying to go back to index.php?login --

GET /register/linkedin?code=AQRc83c6ff6b HTTP/1.1" 303 5 "https://www.domain/index.php?login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5"
GET /index.php?login/ HTTP/1.1" 303 5 "https://domain/index.php?login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5"

what is happening on that first get where it goes to /register/linkedin ? could it be a problem with the return URL that linkedin sends?
 
Thanks Silence, i know it is tough. It looks like it keeps trying to go back to index.php?login --

GET /register/linkedin?code=AQRc83c6ff6b HTTP/1.1" 303 5 "https://www.domain/index.php?login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5"
GET /index.php?login/ HTTP/1.1" 303 5 "https://domain/index.php?login/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5"

what is happening on that first get where it goes to /register/linkedin ? could it be a problem with the return URL that linkedin sends?
Ok can we establish one thing so I can stop asking haha:

When using the 'Sign in with LinkedIn' if the account you are logging in with on LinkedIn is already linked to your forum account, it does that redirect to the homepage. Can you make sure that isn't happening?
 
silence updated External Accounts Extended with a new update entry:
Any idea when using Chris's Add-On installer one would get this:
Code:
ErrorException: Invalid argument supplied for foreach() - library/ExternalExtended/Model/Provider.php:125
Generated By: Tracy, 1 minute ago
Stack Trace
#0 /var/www/twd/library/ExternalExtended/Model/Provider.php(125): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/twd/li...', 125, Array)
#1 /var/www/twd/library/ExternalExtended/Installer.php(122): ExternalExtended_Model_Provider->addProviderOrderOption('live')
#2 /var/www/twd/library/ExternalExtended/Installer.php(65): ExternalExtended_Installer->_installVersion270()
#3 [internal function]: ExternalExtended_Installer::install(Array, Array, Object(SimpleXMLElement))
#4 /var/www/twd/library/XenForo/Model/AddOn.php(215): call_user_func(Array, Array, Array, Object(SimpleXMLElement))
#5 /var/www/twd/library/ConvEss/Model/AddOn.php(24): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'ExternalExtende...')
#6 /var/www/twd/library/XenForo/Model/AddOn.php(169): ConvEss_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'ExternalExtende...')
#7 /var/www/twd/library/AddOnInstaller/ControllerAdmin/AddOn.php(272): XenForo_Model_AddOn->installAddOnXmlFromFile('install/addons/...', 'ExternalExtende...')
#8 /var/www/twd/library/XenForo/FrontController.php(347): AddOnInstaller_ControllerAdmin_AddOn->actionInstallUpgrade()
#9 /var/www/twd/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/twd/admin.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(59) "https://twowheeldemon.com/admin.php?add-ons/install-upgrade"
  ["_GET"] => array(1) {
    ["add-ons/install-upgrade"] => string(0) ""
  }
  ["_POST"] => array(4) {
    ["resource_url"] => string(0) ""
    ["server_file_oldskool"] => string(0) ""
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Any idea when using Chris's Add-On installer one would get this:
Code:
ErrorException: Invalid argument supplied for foreach() - library/ExternalExtended/Model/Provider.php:125
Generated By: Tracy, 1 minute ago
Stack Trace
#0 /var/www/twd/library/ExternalExtended/Model/Provider.php(125): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/twd/li...', 125, Array)
#1 /var/www/twd/library/ExternalExtended/Installer.php(122): ExternalExtended_Model_Provider->addProviderOrderOption('live')
#2 /var/www/twd/library/ExternalExtended/Installer.php(65): ExternalExtended_Installer->_installVersion270()
#3 [internal function]: ExternalExtended_Installer::install(Array, Array, Object(SimpleXMLElement))
#4 /var/www/twd/library/XenForo/Model/AddOn.php(215): call_user_func(Array, Array, Array, Object(SimpleXMLElement))
#5 /var/www/twd/library/ConvEss/Model/AddOn.php(24): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'ExternalExtende...')
#6 /var/www/twd/library/XenForo/Model/AddOn.php(169): ConvEss_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'ExternalExtende...')
#7 /var/www/twd/library/AddOnInstaller/ControllerAdmin/AddOn.php(272): XenForo_Model_AddOn->installAddOnXmlFromFile('install/addons/...', 'ExternalExtende...')
#8 /var/www/twd/library/XenForo/FrontController.php(347): AddOnInstaller_ControllerAdmin_AddOn->actionInstallUpgrade()
#9 /var/www/twd/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/twd/admin.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(59) "https://twowheeldemon.com/admin.php?add-ons/install-upgrade"
  ["_GET"] => array(1) {
    ["add-ons/install-upgrade"] => string(0) ""
  }
  ["_POST"] => array(4) {
    ["resource_url"] => string(0) ""
    ["server_file_oldskool"] => string(0) ""
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
It looks like it's not grabbing the current list of providers within your options. Not sure why but I'll see what I can do :)

Just to check since the install failed what is the version of the addon listed as?
 
It looks like it's not grabbing the current list of providers within your options. Not sure why but I'll see what I can do :)

Just to check since the install failed what is the version of the addon listed as?

I tested it on another forum I have also and got the same thing.
In the ACP it shows 2.5.0

For what it's worth, I'm running PHP 5.6.
 
Ok can we establish one thing so I can stop asking haha:

When using the 'Sign in with LinkedIn' if the account you are logging in with on LinkedIn is already linked to your forum account, it does that redirect to the homepage. Can you make sure that isn't happening?

In my testing --

1) the account is already linked in xf_user_external_auth
2) the account is logged into linked in, but NOT XF
3) when i click the 'login with linked-in' button, that's when the 303 redirects start.

What is interesting is if I manually reload the page after it dies, I can see the user is logged in properly.

This error doesn't come up if they user isn't already logged into linked in -- If they aren't logged into linkedin and hit the button, then the proper screen in linkedin comes up asking them for their credentials, and when properly supplied, it will log the user in and redirect them to the home page.

weird, huh?
 
Back
Top Bottom