I've tried to put firebase auth logic in backend file, all things were done when using package manager to installed firebase.
However, I can not access firebase provider when I tried to provide facebook login to my users. There are some snapshots of my code and setups.
It's page file.
It's backend file.
Besides, I can log 'firebase' alone as Object.
I did search all topics about it, but nothing helps.
Is there anything wrong with my code or my setups? Thank you.