Firebase Google Auth

Hello everyone!

I am trying to integrate Firebase Google authentication into my site following this tutorial: How to add Firebase authentication to your Webflow website. But when trying open a login page, the main page loads automatically instead of it. If I make a “Login page” a homepage, the login page is opened. And also after logging in, the profile picture and a username is not shown for some reason:

1.04.h1

Can this be fixed in the code? Actually there will be two landing pages and two login pages. All of them are under one domain. Each login page includes “Continue with Google” button. After Google authentication users will be redirected to related landing pages.

I’m sharing a sample similar to the real project.

So in this case, will the setup be complex? Is it achievable applying this code of the tutorial and how hard will it be to modify it?

Thank you!


Here is my site Read-Only: LINK
(how to share your site Read-Only link)