Topic-icon Sign in w FB not working as expected

Support Specialist
12 years 10 months ago #34720 by alzander
Glad to help, as always. If you have any other questions, just let me know.

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

None
12 years 10 months ago #34724 by petgal
Alex. Just tested it and it was not working well. Just watched someone try to signin using Facebook. After they entered their facebook email and password they were directed to the page with the TOS but they were presented with a required username field. When they filled it in, and checked the TOS box (that worked well) they then got to a page saying that the username is in use or invalid and similar for their email. He then had to enter a username again and email and confirm email. Meanwhile at the top right I could see the signup button had changed to a "My Account" button.

The user again entered a username and email and confirm email, but again it was not accepted. When he clicked on the My account button it was clear that he was correctly signed in.

I doubled checked the settings and I noticed that in the User tab of Configuration that the field "Generate Username (Normal Registration only) was set to "No". I changed that to "yes" and tested it again. This time it worked as you predicted.

The only problem now is that the automatic usernames being generated are a fb string of numbers. Not at all friendly. Is there someway to have the username generated be something that sounds a bit more like a person? Perhaps some abbreviation of their first and last name.
The topic has been locked.
Support Specialist
12 years 10 months ago #34757 by alzander
To change the automatic username, set the "Auto Username Prefix" setting in the Configuration -> User setting to something you'd prefer for your users.

Meanwhile at the top right I could see the signup button had changed to a "My Account" button.

I'm not sure why this would be. Are you sure the account wasn't actually created and the user was logged in? My only guess here is that there was a bug in that the user entered an already used username or email and then were redirected to the registration page again. When a valid username/email were entered, they were redirected back to the registration page because you have the Enable New User Redirection setting set to 'No', which leaves the user on the same page. To fix, there are a few options:
* By hiding the username field, JFBConnect will automatically create one for the user that isn't already used.
* Change the Enable New User Redirection to "Yes" and set a specific menu item you want users to go to after registering.

Hopefully that helps get you going, but if you still have issues or questions, just let me know.

Thanks,
Alex
The topic has been locked.