Laravel Firebase authentication error, unresolved dependancy - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Sunday, March 26, 2023

Laravel Firebase authentication error, unresolved dependancy

I started with this project: https://github.com/suhasrkms/laravel-with-firebase-auth (I downloaded the zip for email/password auth). To duplicate issue I ran composer require kreait/laravel-firebase:^4.0 -W Updated from version kreait/laravel-firebase:^3.0 and I got this error. Unresolvable dependency resolving [Parameter #0 [ string $projectId ]] in class Kreait\Firebase\Auth\ApiClient

Originally I was trying to migrate this config to Laravel 10 with kreait/laravel-firebase:^5.1, however, for the life of me, I can't see how to resolve this error. I have the config file loading in .env, I can use my firestore controller just fine. I was hoping to quickly get front end authentication going, but this error is halting progress. I'm guessing a config changed between version 3 and 4.



source https://stackoverflow.com/questions/75838851/laravel-firebase-authentication-error-unresolved-dependancy

No comments:

Post a Comment