dalenguyen / firebase-wordpress-plugin

A plugin that helps to integrate Firebase to WordPress
https://firebase-wordpress-docs.readthedocs.io
GNU General Public License v2.0
110 stars 31 forks source link

Link auth provider credentials to an existing user account #66

Open Rauljauregi opened 4 years ago

Rauljauregi commented 4 years ago

Allow users to sign in to WordPress using multiple authentication providers by linking auth provider credentials to an existing user account. So users would be identifiable by the same Firebase user ID regardless of the authentication provider they used to sign in.

dalenguyen commented 4 years ago

The plugin now bases on User's email for creating a new account. It can get FirebaseUID as WordPress username. Is it ok?

Rauljauregi commented 4 years ago

Thank you for the response,

I wanted to say to be able to link and unlink to other accounts. This would be perfect:

link-accounts

More info: https://firebase.google.com/docs/auth/web/account-linking

As long as now users can log in with different social providers (Facebook, Gmail, Apple, ...) they should be able to register, login, link or unlink to them too. The user UID is independent of the first account logged-in email

Thank you