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
111 stars 31 forks source link

User not marked as logged in #210

Closed gina108 closed 2 months ago

gina108 commented 10 months ago

When a new user logs in with google (using Integrate Pro social login) the user is created in Firestore and in Wordpress but the user does not get routed to logged in page, and cannot see pages visible to logged in users.

It appears that the user gets created in the databases but not marked as logged in.

I added a button from nextend social login at the bottom and the user will stay logged in that way.

To Reproduce Steps to reproduce the behavior:

  1. go to www.fluentzkidz.com
  2. click on login.
  3. log in with google.

Nothing will happen. Then when you try to access other pages it will show the button for nextend social log in and that button will log the user in fine.

I added the Nextend butter after the problem occurred. The problem isn't occurring because of the button.

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

I expect to be logged into profile page, or at least have access to account page after logging in with google.

I am trying to integrate with stripe also.

Integrate Firebase PRO (v3.32.0)

Screenshots If applicable, add screenshots to help explain your problem. You can find the error code from inspecting the browser.

Desktop (please complete the following information):

I can log in with the Nextend Social Login button, but not with the Integrate Pro buttons. I haven't configured the apps for windows or facebook yet. But google should be good to go,

dalenguyen commented 10 months ago

Hi @gina108,

Can you check if you followed these guides correctly?

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

https://firebase-wordpress-docs.readthedocs.io/en/latest/auth/wordpress-user-integration.html

Please make sure that you check the box: Allow Login to WP Dashboard, so it can allow users to log in to both WP & Firebase.

image

dalenguyen commented 2 months ago

Close due to inactivity.