• Resolved rauljauregi

    (@rauljauregi)


    Hi there,

    I have purchased the Integrate Firebase PRO and it is not working.

    Can you please help me or give me a refund?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Dale Nguyen

    (@hanthuy)

    Hi Rauljauregi,

    Yes, I can help you with that. What kind of error do you have? Make sure that you deactivate and remove the Free version before installing the PRO version.

    Here is the video that guides you through the installation process:

    Let me know how it goes.

    Thanks,

    Thread Starter rauljauregi

    (@rauljauregi)

    Thank you very much Dale,

    I have activated the plugin and configured it. But I am not sure how can I fill the Base Domain and Dashboard API token nor Front API token.

    Are those the data from Storage tab on Firebase?

    I have used the storage placement url to fill the Data Base URL on the General tab of the plugin.

    And the Name of the php file to fill Base Domain. And the access token (from storage tab on firebase) to fill Fontend API token.

    Thank you very much

    Plugin Author Dale Nguyen

    (@hanthuy)

    I’m glad to hear that. The tokens are the ones that you have to generate with Nodejs for security purposes.

    // Generate random token
    node -e "console.log(require('crypto').randomBytes(20).toString('hex'))"
    
    // Set your token to firebase configuration (dashboard token)
    firebase functions:config:set api.dashboard_token=your-secret-key --project project-id
    
    // Set your token to firebase configuration (frontend token)
    firebase functions:config:set api.frontend_token=your-secret-key --project project-id
    
    // Check your api token
    firebase functions:config:get api --project project-id
    

    Take a look at the Firebase Cloud Functions Deployment part.

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

    Here is the YouTube guide: https://www.youtube.com/watch?v=D-xvzJ9K8jw

    Thanks,

    Thread Starter rauljauregi

    (@rauljauregi)

    Thank you very much,

    I have done one more step ahead… still so much to connect wordpress and Firebase. I am sure that with your help I will get it.

    I go to check the video and docs.

    Can I test previously if I have done everything else correctly?

    I am seeing that your plugin and work is great.

    Thank you for that,

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Plugin Author Dale Nguyen

    (@hanthuy)

    Hi Raul,

    If everything is configured correctly, you can test it by going to Users tab and load for Users or search for Document in Database.

    Let me know if it works.

    Thread Starter rauljauregi

    (@rauljauregi)

    Thank you It is quite impressive. But still I am struggling… 🙂

    I can log in, and Firebase authenticates me correctly.

    I checked on Firebase, and I can see the sessions authenticated by Firebase from wordpress.

    The Database on the plugin I am not sure if I have configured well. I let Firestore. Is it correct?

    I am trying to create a new user from the plugin (user tab) but it is not working. I cannot retrieve users from the plugin either.

    I am not sure if everything right to keep to the next step.

    Thank you !!

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Thread Starter rauljauregi

    (@rauljauregi)

    I have a question, sorry if it is very basical.

    Does the plugin login as well with WordPress? I mean, I have WooCommerce installed but when I authenticate through Firebase I am not logged in on WordPress. Or is it because still I have not set up the Tokens with node.js etc…?

    I have installed NodeJs on my Ubuntu installation. But when writting the command:

    npm install -g firebase-tools

    I get many errors and firebase tools are not installed.

    Can you help me please?

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Thread Starter rauljauregi

    (@rauljauregi)

    Dear Dale,

    I have istalled everything, but now I need to know if it is required to have Firestore, and the entity and atributes needed. We plan to have around 100.000 users. What is the best option.

    On the other hand still when I authenticate through Firebase I am not logged in on WordPress.

    Thank you in advance,

    Thread Starter rauljauregi

    (@rauljauregi)

    Okay! I am sorry for bothering you too much. I have given more steps ahead. Your documentation is very clear and your plugin is great too.

    I understand that in order to make Firebase users to login on WordPress I have to create users again? The previous WordPress users are not allowed, even having the same email address? I have to migrate them to Firebase?

    I want to duplicate users on WordPress previously authenticated with Firebase in order to allow them to have contents and other WordPress resources. In your documentation you say that I have to call the API to create a new User after user register:

    Endpoint: POST https://example.com/firebase/v2/users/register

    Example payload: {
    username: ‘dale’,
    email: ‘dale@dalenguyen.me’,
    password: ‘the-password’
    }

    Can you give me more info on how to implement that?

    And what about the users that are already in Firebase? How can I allow them to access WordPress?

    On the other hand I am not sure if I need to hire Firestore, now we use Firebase as authentication method, and we don’t have Firestore on Firebase. So is that the reason why login users are not logged in on WordPress, because I don’t have Firestore nor RealTime?

    Sorry for my basics questions, 🙂
    Thank you, Dale!

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    • This reply was modified 4 years, 1 month ago by rauljauregi.
    • This reply was modified 4 years, 1 month ago by rauljauregi.
    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Plugin Author Dale Nguyen

    (@hanthuy)

    Hi Raul,

    That endpoint is for a mobile / web app that wants to duplicate User when the user is created on that app. For WordPress site, you can take a look at this docs: https://firebase-wordpress-docs.readthedocs.io/en/latest/wordpress-user-integration.html

    Thanks,

    Thread Starter rauljauregi

    (@rauljauregi)

    But even if I Check Allow Login to WP Dashboard and I enter the Login Url, users are not logged in WorPress after user logs in through FirebaseUI Web shortcode.

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Thread Starter rauljauregi

    (@rauljauregi)

    I cannot login in WordPress, but I follow all the instructions.

    Can you help me?

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Thread Starter rauljauregi

    (@rauljauregi)

    I cannot login in wordpress even if I followed all the steps. And I get this error message:

    Notice: Trying to access array offset on value of type bool in
    /var/www/html/wp-content/plugins/integrate-firebase-PRO/includes/admin/class.wordpress.php on line 27

    • This reply was modified 4 years, 1 month ago by rauljauregi.
    Plugin Author Dale Nguyen

    (@hanthuy)

    Hi @rauljauregi, can you send me the information below to dale@dalenguyen.me?

    – the version of the plugin
    – a snapshot of the error with the console log on the browser
    – a snapshot of the auth tab under Firebase in the Dashboard

    We can continue to discuss this in the email.

    Thanks,

    Hello, I have followed the user guide to a t, have configured my dashboard tokens and everything, but when I go to install the functions using mom install cs functions it returns an error saying the file is not found. What do I do? How do I place the functions file so that I can install it? Please help.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Integrate Firebase PRO’ is closed to new replies.