@Kfawcett: I just tested this. It works exactly as described in the docs.
Here’s a page with a button that allows us to add Facebook as an auth method. All it does is run signup/login the user with Facebook when clicked. Here’s that flow:
Here’s the page:
I have created a Facebook test user. He is Aiden Putnamson.
Aiden comes to GRUPZ and signs up with an email/password:
After signing up, Aiden can visit this page and we have a text showing his email, firstname, lastname and other info to watch what happens. The text is like this:
Here is Aiden visiting the page:
Now Aiden clicks Add Facebook Auth and authenticates / allows us permission:
So we see Aiden can log in to GRUPZ as [email protected] with a password. And we seem to be connected to Facebook as well.
Let’s see if Aiden can log in via Facebook now. First we log out:
And now we log in and click Log in with Facebook:
Did that work? Yes it did:
You will note a couple of things:
(1) the fact that Aiden’s GRUPZ last name changed to match Facebook is something that my app does (when a user logs in with facebook, we check if their FB name and profile pic is different than the app’s data, if it is, I change it in my database)… so that’s why Aiden’s last name is now corrected.
(2) Aiden can in fact have completely different GRUPZ email login address and FB-associated email address.
OK, what happens if Aiden logs out and then logs in via email/password to GRUPZ? Log out:
Log in with email/pass:
The page shows us:
So all works as expected.
I don’t know what explains your past experience with this, @Kfawcett… coulda been bugged at the time?