firebase-php icon indicating copy to clipboard operation
firebase-php copied to clipboard

database secrets are deprecated (implement Service Account authentication?)

Open codemonkeynorth opened this issue 9 years ago • 16 comments

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

codemonkeynorth avatar Nov 06 '16 15:11 codemonkeynorth

Would be great to have this implementation

gursimranp avatar Nov 12 '16 04:11 gursimranp

+1

Are we required to use Nodejs instead ?

DavG avatar Nov 24 '16 16:11 DavG

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

gayanpathirage avatar Nov 28 '16 05:11 gayanpathirage

+1

appdezign avatar Nov 29 '16 11:11 appdezign

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

alanscarpa avatar Jan 04 '17 02:01 alanscarpa

+1

opatril avatar Feb 15 '17 14:02 opatril

+1

maxfagotto avatar Feb 26 '17 13:02 maxfagotto

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

{
   "error" : "Could not parse auth token.
}

x1nixmzeng avatar Mar 06 '17 23:03 x1nixmzeng

+1

mikeyang01 avatar Mar 13 '17 02:03 mikeyang01

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

jeromegamez avatar Apr 09 '17 01:04 jeromegamez

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

pinkladywithcoco avatar May 27 '17 10:05 pinkladywithcoco

I need this!!!!!

+1

diogomachado avatar Jun 08 '17 14:06 diogomachado

+1

mlhoez avatar Aug 19 '17 13:08 mlhoez

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 :)

damithsj avatar Sep 14 '17 07:09 damithsj

+1

ahsankhatri avatar Nov 09 '17 11:11 ahsankhatri

+1

kodomoyeh avatar May 18 '23 02:05 kodomoyeh