theoutdoors
Member
Posted 4 months ago #
Hi,
I just installed the plugin and I'm testing it out. Right now I can successfully register via FB and the user is created in the WP database. However, once registration occurs I am immediately taken back to /wp-login.php?action=register, and I am unable to log in.
If I go directly to /wp-login.php, I am redirected to /wp-login.php?action=register again, and I'm in an endless registration loop. I never see the login screen.
Any ideas?
http://wordpress.org/extend/plugins/simple-facebook-connect/
Prasad Thombre
Member
Posted 4 months ago #
please check Registration Settings & Allow new registrations
theoutdoors
Member
Posted 4 months ago #
Thanks for the suggestion, but that was already set. Any other ideas?
craighwk
Member
Posted 4 months ago #
I am having the exact same issue on a new install of WordPress. I hit the Register link and a window pops open to register. It tells me I can enter my Facebook information to fill out the rest of my profile, so I click it and verify my Facebook account. I even get the Add New Device window that comes next. After that, I am taken back to the same registration window and nothing has been filled out. I am now in a loop.
craighwk
Member
Posted 4 months ago #
Here's something else I just found...
When I enter my facebook data and it takes me back to the login screen, if I hit the Browser's refresh button on the registration screens, it refreshes with my correct Facebook information and then I can continue to register.
I think you might be facing an authentication issue. Please check your Facebook app, and make sure you have specified the app domain.
flero8770
Member
Posted 4 months ago #
Same problem, app domain is specified.
Prasad Thombre
Member
Posted 3 months ago #
are you uys using WordPress Multi site configuration?
flero8770
Member
Posted 3 months ago #
No, it's a local test site. I tried with an online test site too and it's the same.
andrewwise
Member
Posted 3 months ago #
I'm having the same problem.
1) user clicks "register"
2) they are added to the wordpress registration
3) but they stay on this page:
example.com/wp-admin/profile.php?updated=true
4) if i click "register" again, it then logs the user in correctly to this page:
example.com/wp-admin/profile.php?updated=true
BillRamos
Member
Posted 3 months ago #
I'm also having this issue. Has anyone figured out how to bypass the loop?
selfantagonist
Member
Posted 3 months ago #
I am having the same problem. The login page keeps looping to the register page. However, if a person is not logged into Facebook it stays on the login in page. In the simple-facebook-connect/sfc-login.php is
// fix the reauth redirect problem
add_action('login_form_login','sfc_login_reauth_disable');
function sfc_login_reauth_disable() {
$_REQUEST['reauth'] = true;
}
Have tried that both set to true and to false and the problem is persists.
Check to see if the user created is actually connected to Facebook.
Basically, if you have the FB register system enabled, then when a user is connected via Facebook to your site but there is no user in the database matching that person, it shuffles them off to the register screen.
Solving the loop means: a) disconnecting from Facebook via logout or clearing your cookies and b) logging into WP normally. Then you can go to your user profile page and connect your user account to your Facebook account.
Registering via your FB credentials should do this connection thing for you.
selfantagonist
Member
Posted 3 months ago #
Yes, this lets me work around the FB login system, but does me no good if a random person is trying to access the site. Ideally, I need it to shuffle them back to the login in screen, that way they can login in if they have a non-Facebook account (not everyone is necessarily going to want their Facebook linked to every site they go on), or can click the register button if they do not have an account.
It doesn't send them to the register screen until they've clicked on the FB Login button.
selfantagonist
Member
Posted 3 months ago #
All I know is mine was, ended up removing `add_action('sfc_login_new_fb_user', 'sfc_register_redirect');
function sfc_register_redirect() {
wp_redirect(site_url('wp-login.php?action=register', 'login'));
exit;
}` from the register.php and it seems to be working fine.
rivermonster
Member
Posted 3 months ago #
same think here. When I am already logged in to FB and open new tab to log in with my WP account into my site even if I didn't click on the fb login , I get redirected to register form prifilled with my FB credentials. I 'm agree with selfantagonist that not everyone want to connect fb with any site account.
rivermonster
Member
Posted 3 months ago #
Ok I tried with another FB account and works fine, the loop was because I have the same email for my WP and FB account.