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

Unable to import users from Firebase firestore. #162

Closed harshachaitanya closed 3 years ago

harshachaitanya commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: From the Mobile app, few users signed up. The same user tries into the login web is not happening(vice versa) From the Web app few users signed up, The same user tries to login into mobile, not happeing(vice versa).

When we try to sync users manually we got the below error.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots The version of the plugin. E.g PRO v0.5.5

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

dalenguyen commented 3 years ago

Hi @harshachaitanya,

Is it the first time that you import users? What is the current version of the PRO plugin?

Thanks,

harshachaitanya commented 3 years ago

Hi @dalenguyen

Wordpress 5.7.2 Integrate Firebase PRO 2.11.0 Users 1.1.0 woocommerce : 2.0.0

Thanks,

dalenguyen commented 3 years ago

Hi @harshachaitanya,

Is it the first time that you import users?

Thanks,

harshachaitanya commented 3 years ago

Yes @dalenguyen you're correct.

dalenguyen commented 3 years ago

If it's the first time you run it, please redeploy cloud functions.

https://firebase-wordpress-docs.readthedocs.io/en/latest/intro/cloud-functions-deployment.html

harshachaitanya commented 3 years ago

Thanks, @dalenguyen after redeployed cloud functions now able to sync the user.

But how can a mobile user log in to the WordPress website?

dalenguyen commented 3 years ago

I'm glad that it works.

Mobile users can sign in via the login shortcode.

https://firebase-wordpress-docs.readthedocs.io/en/latest/auth/work-with-firebaseui-web.html