Closed Bug 1274405 Opened 8 years ago Closed 8 years ago

Sign a JSON Web Token for firebase auth for room request

Categories

(Hello (Loop) :: Server, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: Mardak, Unassigned)

References

Details

(Whiteboard: [akita])

We'll want to generate a signed auth token for clients to pass on to firebase that grants access to the desired room identifier from bug 1274403.

There's various libraries that can be used to generate these tokens:

https://www.firebase.com/docs/rest/guide/user-auth.html
https://github.com/firebase/firebase-token-generator-node

> var FirebaseTokenGenerator = require("firebase-token-generator");
> var tokenGenerator = new FirebaseTokenGenerator("<YOUR_FIREBASE_SECRET>");
> var token = tokenGenerator.createToken({ uid: "1", some: "arbitrary", data: "here" });
Rank: 25
Priority: -- → P2
Component: Client → Server
Support for Hello/Loop has been discontinued.

https://support.mozilla.org/kb/hello-status

Hence closing the old bugs. Thank you for your support.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.