firebase-ruby icon indicating copy to clipboard operation
firebase-ruby copied to clipboard

auth doesn't work for legacy firebase database secret auth method

Open spnkr opened this issue 5 years ago • 1 comments

the auto-detection doesn't work. need a parameter that lets you force use the old auth secret or the new admin api pk.

spnkr avatar Nov 08 '18 01:11 spnkr

Auth works for me i write it like such firebaseURL = "" firebaseSecret = "" firebase = Firebase::Client.new(firebaseURL,firebaseSecret) response = firebase.push("<name>", {<fields here>})

bchewy avatar Nov 11 '18 10:11 bchewy