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

User connection state synchronisation #175

Closed VincentCtr closed 3 years ago

VincentCtr commented 3 years ago

Describe the bug We are not able to sync connection state between our web application and our wordpress.

Our web application (fully written in react + firebase) is located at this address : domain.com/app/ Our wordpress is located here : domain.com/

We are able to login our users using firebase-wordpress-plugin our our wordpress but the connection state is not forwarded when the user goes on our web application.

To Reproduce Steps to reproduce the behavior:

  1. Go to domain.com
  2. Login with firebase-wordpress-plugin
  3. Got to the web app at domain.com/app
  4. You are not connected

Expected behavior The user should be connected when switching to the web application

Thank you for this great plugin. Looking forward to switch to the pro version if we are able to handle this issue.

VincentCtr commented 3 years ago

Hello, After a few more tests I found out that it was an API key issue (not the same api key was used on the wordpress and the web app). It works perfectly now.

dalenguyen commented 3 years ago

I'm glad that it works!