ktamas77 / firebase-php

Firebase PHP Client
792 stars 215 forks source link

database secrets are deprecated (implement Service Account authentication?) #57

Open codemonkeynorth opened 8 years ago

codemonkeynorth commented 8 years ago

database secrets are deprecated now.. image

would it be possible to implement authentication via the new Service Account json file?

this library uses it, but is heavily reliant on guzzle which has issues under Google Cloud SDK shell https://github.com/kreait/firebase-php

thanks j

gursimranp commented 8 years ago

Would be great to have this implementation

DavG commented 7 years ago

+1

Are we required to use Nodejs instead ?

gayanpathirage commented 7 years ago

+1 We urgently require this, please do the needful as JWT based authentication is cumbersome for regular developer

appdezign commented 7 years ago

+1

alanscarpa commented 7 years ago

+1 for this. @ktamas77 is this something you plan on working on? Thanks for the great lib!

marekopatril commented 7 years ago

+1

maxfagotto commented 7 years ago

+1

x1nixmzeng commented 7 years ago

Ran into this myself. Firebase also seems to also be returning invalid JSON:

{
   "error" : "Could not parse auth token.
}
mikeyang01 commented 7 years ago

+1

jeromegamez commented 7 years ago

@codemonkeynorth Hey, maintainer of kreait/firebase-php here :). Out of curiosity, what are the issues of Guzzle/the Google Cloud SDK you mentioned?

pinkladywithcoco commented 7 years ago

Database secrets are deprecated does it mean they will stop using database secrets??

anyway... implement authentication via the new Service Account json file would be really usefull

any update on this???

+1

diogomachado commented 7 years ago

I need this!!!!!

+1

mlhoez commented 7 years ago

+1

damithsj commented 7 years ago

Would be great to have this. Otherwise a comment on an example to where to find the secret will be really useful since it took few hours for me to find out DEFAULT_TOKEN should be the database secret :)

ahsankhatri commented 7 years ago

+1

kodomoyeh commented 1 year ago

+1