plp050452 / simplesamlphp

Automatically exported from code.google.com/p/simplesamlphp
Other
0 stars 0 forks source link

problem with authfacebook #552

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am just trying to test authfacebook.

What steps will reproduce the problem?
1. Created an app on fb, filled in App Domains and Site URL
2. Grabbed App ID and App Secret and put them into authsources.php
3. authfacebook is enabled

What is the expected output? What do you see instead?
-When I test facebook-sp, I am getting this message:
Exception during login:
SimpleSAML_Error_AuthSource: AUTHSOURCEERROR('%AUTHSOURCE%' => 
'\'facebook-sp\'', '%REASON%' => '\'Error getting user profile.\'')
Backtrace:
2 
C:\wamp\apps\simplesamlphp-1.10.0\modules\authfacebook\lib\Auth\Source\Facebook.
php:108 (sspmod_authfacebook_Auth_Source_Facebook::finalStep)
1 C:\wamp\apps\simplesamlphp-1.10.0\modules\authfacebook\www\linkback.php:30 
(require)
0 C:\wamp\apps\simplesamlphp-1.10.0\www\module.php:135 (N/A)

What version of the product are you using? On what operating system?
-simplesamlphp-1.10.0; Windows 7

Please provide any additional information below.
-Seems to fail in public function finalStep() where $uid = 0. Am I missing 
something in the configurations?

Original issue reported on code.google.com by ipt...@gmail.com on 21 May 2013 at 9:14

GoogleCodeExporter commented 8 years ago
same issue on simplesamlphp-1.11.0

Original comment by chicago...@gmail.com on 23 Jun 2013 at 3:34

GoogleCodeExporter commented 8 years ago
We had same problem and found that certificate bundled with simplesamplphp in 
modules/authfacebook/extlibinc/fb_ca_chain_bundle.crt are the problem we 
replaced it with 
https://github.com/facebook/facebook-php-sdk/blob/master/src/fb_ca_chain_bundle.
crt

Original comment by jozef.br...@gmail.com on 13 Nov 2013 at 9:41

GoogleCodeExporter commented 8 years ago
Wow..thank you. I'll try that.

Original comment by chicago...@gmail.com on 13 Nov 2013 at 1:27

GoogleCodeExporter commented 8 years ago
facebook-php-sdk is now updated to 3.2.2 in SSP trunk (r3292).

BTW fb_ca_chain_bundle.crt is used only when SSL fails with system wide 
certificates, i.e. you should install/update your system wide CA certificates.

Original comment by comel...@gmail.com on 18 Nov 2013 at 11:51

GoogleCodeExporter commented 8 years ago
Hi , can anybody solve the issue?
i'm pending

thanks

Original comment by Cmesahe...@gmail.com on 6 Apr 2015 at 7:01

GoogleCodeExporter commented 8 years ago
Hi,

What issue exactly? This issue was resolved in 2013.

Also, this issue tracker has been closed since 2014. I would recommend you to 
ask for assistance in the SimpleSAMLphp user's list (1) and describe thoroughly 
your problem there. If this turns out to be an issue in SimpleSAMLphp indeed, 
please submit an issue to the proper issue tracker (2).

(1) https://simplesamlphp.org/lists
(2) https://github.com/simplesamlphp/simplesamlphp/issues

Original comment by jaim...@gmail.com on 7 Apr 2015 at 10:24