Comments (9)
@mitjarobic @foxted @kevin1193
You might use a wrong secret. Please make sure that you got it from the right place:
It is in the project setting
-> database
tab
http://stackoverflow.com/a/37418932
from firebase-php.
Dudes, go to https://console.firebase.google.com/project/[projectname]/settings/serviceaccounts/databasesecrets
Copy secret.
from firebase-php.
I think this is resolved already. Just use the database secret instead of token.
from firebase-php.
I am using the database secret and i get the error:
"""
{\n
"error" : "Could not parse auth token."\n
}\n
"""
Does it still work for you?
from firebase-php.
Still getting this error as well:
"""
{\n
"error" : "Could not parse auth token."\n
}\n
"""
Any tips?
from firebase-php.
thanks @richdho it is working now
from firebase-php.
Hi kevin1193, mitjarobic
what about this statement.
Authenticating with a database secret has been officially deprecated since November 2016 and will be removed from this library in Release 3.0.
[http://firebase-php.readthedocs.io/en/latest/authentication.html]
Using secret appears to be of short life time. Building app on secret does not feel safe in medium run.
Any other suggestion how to make protected database to work with token ?
from firebase-php.
Hello, I also had problems with the token error with the latest interface of firebase that was resolved when changing through the secret, but there is a big alert saying that it has been discontinued, you could do an update to update this script and do the Login as updated?
from firebase-php.
The link https://console.firebase.google.com/project/[projectname]/settings/serviceaccounts/databasesecrets is deprecated now.
This issue needs to be reopened because the new available key does not works with the gem.
from firebase-php.
Related Issues (20)
- How to set the app or version
- how to set name in push?
- Push Parameters HOT 1
- FirebaseLib HOT 1
- Git push is removing firebase_php folder. HOT 1
- Firestore Usage HOT 1
- Cannot use Database and Auth together HOT 1
- Slow query HOT 8
- firebase connection in php HOT 1
- Firebase created a new authentication HOT 2
- how to authenticate user using email and password
- i got "Permission denied" error
- firebase query "equalTo" doesn't work with "+" symbol HOT 1
- Setting value to 0 (number) is not possible HOT 1
- Credentials provided by firebase HOT 1
- No logging in firebaseLib
- I got 3 arduino devices with same code with same php code using this Lib but in firebase it only update 1 data not simultaneously those 3 devices it requires other device to be turn off so it can be updated HOT 5
- Getting unexpected error code 0/null/100
- Composer with php7.3 first time install issue: HOT 1
- Requirements? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-php.