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)
Hello (Loop)
Server
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" });
Updated•8 years ago
|
Rank: 25
Priority: -- → P2
Reporter | ||
Updated•8 years ago
|
Component: Client → Server
Comment 1•8 years ago
|
||
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.
Description
•