Topic-icon Have problem when use Facebook to login

Active Subscriptions:

None
12 years 4 days ago #44558 by brycha
Hi Sir,
I installed and config a JFBconnect into my dev site.
When I use facebook to login:
- It can auto create a new account (so my component connect with facebook success).
- But I received a message is "Username and password do not match or you do not have an account yet."

This is demo site: dev.discoverwish.com/
We expect to receive your support as soon as possible.
Thank you so much
The topic has been locked.
Support Specialist
12 years 4 days ago #44563 by alzander
Please check that:
* The JFBConnect - Authentication is enabled
* The JFBConnect - User plugins are both enabled.

If both of those are enabled, please check if there was a user created in the Joomla User Manager. If so, then also check the JFBConnect -> Usermap area and verify that there is a connection between your Joomla user and Facebook user.

Let me know how that goes, but if you still have issues, please let me know. This isn't an issue we've heard of before, but will gladly help investigate further once we know more details.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 4 days ago #44576 by brycha
Strangely, the user was created in the Joomla user list; on the other hand it does not show up in the user map. Lastly, the login for the user was not validated, and couldn't login.
The topic has been locked.
Support Specialist
12 years 4 days ago #44579 by alzander
That helps narrow things down a bit. Can you let me know if you have any 'profile' extensions on your site, like Community Builder?

Also, please check your User and System plugins to see if there are any that may be performing a redirection for the user whenever they register or login. From what you're describing, it sounds like the Joomla registration portion of authentication is occurring, but the 2nd half of the process of connecting that new user to JFBConnect is not. That can happen when another plugin hijacks the registration flow to push the user to a new page. In that case, all of our code won't execute, which can cause the problems your describing.

Please let me know what you find.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 days ago #44610 by brycha
Hi Sir,
I fixed issue login with facebook.
Thank you so much.
But now have problem with api of google.
I created a app in google api.
I used Client ID and Client secret of app to input into JFBConnect, but when I try login by google I received a error message:
gyazo.com/0d30db04cc3472bdd28c39793adbc0a2
So, I think have problem with Redirect URIs in google API.
This is my config in google api:
gyazo.com/5084381f77933c865d2d85925fc03504
I tried with redirect url but received same error:
- dev.discoverwish.com/index.php?option=co...&provider=google

Best regards
Bryan
The topic has been locked.
Support Specialist
12 years 3 days ago #44614 by alzander
I'm not sure why you're seeing that error. The callback you've configured looks like it matches the one that is recommended.

The only thing I can suggest right now is try the callback URL with just & and not &, like:

dev.discoverwish.com/index.php?option=co...back&provider=google


It's worth a shot, but not sure if that will actually fix the problem. Please keep us posted on what happens.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 11 months ago #44824 by brycha
Hi Sir,
I'm having problem with login with facebook.
I have 2 enviroment: a dev site and a live site.
I setup 2 enviroment same with a facebook app. But only dev site's working, Live site sometime work, sometime not work (now live site isn't working).
Dev site: ocoder.discoverwish.com/
Live site: www.discoverwish.com/

Can you help me?
Thank you so much.
The topic has been locked.
Support Specialist
11 years 11 months ago #44825 by alzander
When I run the Autotune Error Check tool on your site, I see the following warning:

Test: Facebook Javascript library inclusion
Warn: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.

That is likely your issue and it will need to be resolved. The other extension re-including the Facebook Javascript library looks to be your template. Please disable the social login features of your template and re-run the Autotune Error Checker until it passes that test.

I think that will get you going, but if you still have issues after Autotune passes, just let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 11 months ago #44936 by brycha
Hi Alex,
Sorry to bother you too much :).
But when I installed your extension in live site.
When config Facebook App I have problem with De-Authorization Callback URL.
- I think must: www.discoverwish.com/index.php?option=co...task=deauthorizeUser
- But now: dev.discoverwish.com/index.php?option=co...task=deauthorizeUser
(gyazo.com/c8d83aab9c0c29ce0838f8cfd960f0c9)
But I can't change it.
Can you help me
Thank you so much
Bryan
The topic has been locked.
Support Specialist
11 years 11 months ago #44937 by alzander
Just hit "Save Custom Settings" in the bottom. That will keep all your current settings and JFBConnect will automatically detect and set any 'fixed' settings like your De-authorization URL.

I hope that helps, but if you still have issues, just let me know.

Thanks,
Alex
The topic has been locked.