Coder Social home page Coder Social logo

Comments (4)

JeanRemiDelteil avatar JeanRemiDelteil commented on May 30, 2024

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.

lekeope avatar lekeope commented on May 30, 2024

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.

JeanRemiDelteil avatar JeanRemiDelteil commented on May 30, 2024

@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.

lekeope avatar lekeope commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.