Comments (4)
Hi @edge-developer, Indeed using an email as user Universal ID is not advisable, mainly not because of the left part in the email, but of the domain part:
It's a much bigger issue if users from different domain are mixed up:
[email protected] -->johndoedomaintestcom
[email protected] --> johndoedomaintestcom
I agree that currently the variable name and documentation can be misleading.
However you can actually pass your own user ID to the createAuthToken() method, it doesn't have to be an email.
from firebaseapp.
why would I want to do all that manual work when the firebase inline js library does all that.
Don't mean to be rude but what does this library do that the official library does not ?
from firebaseapp.
@edge-developer Have you read the repository readMe ?
It states as first that it is
The Google Apps Script binding for the Firebase Realtime Database
Google Apps Script is a Server side language, and is not NodeJS, so the official library is not suited for this environnement.
This repository aims at providing a implementation compatible with most of the Firebase functionalities, using the REST interface.
from firebaseapp.
Thanks, 🙏Jean. I now get that it is used to access firebase from within Code.gs directly, something the official firebase inline js library cannot do (has to be used in conjunction with a web UI in order to work)
from firebaseapp.
Related Issues (16)
- getAllData data structure HOT 1
- optQueryParameters argument does not work in updateData HOT 4
- Error: We're sorry, a server error occurred. Please wait a bit and try again. (строка 236, файл Code, проект FirebaseApp) HOT 2
- Using "error" as key in Firebase HOT 1
- Client authentication token generated by Service Account OAuth + FirebaseApp not valid. HOT 1
- Outdated Firebase JS Library. Pls, Update the Tutorial HOT 2
- Error: We're sorry, a server error occurred. Please wait a bit and try again. (line 303, file "Code", project "FirebaseApp") HOT 14
- getAllData returns "Cannot use 'in' operator to search for 'data' in d (riga 479, file "Code")"
- GAS V8 runtime bug
- Library not found in Google App Script
- Any plans on migrating this for a Firestore database? Or directions on how I could do that? HOT 1
- getData - optQueryParameters can't take "$key" for orderBy - "Error: 400 - Provided key index type is invalid, must be string" HOT 2
- Issue with optQueryParameters when using a string with only digits HOT 1
- PushData without inserting unique subpath HOT 1
- Append data to db without overwriting 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 firebaseapp.