Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to connect to firebase using its generated json file #23

Open
mikeyzhe opened this issue Mar 31, 2019 · 3 comments
Open

How to connect to firebase using its generated json file #23

mikeyzhe opened this issue Mar 31, 2019 · 3 comments
Labels

Comments

@mikeyzhe
Copy link

From the firebase admin console I can download a JSON file which contains all the informatoin needed for auth.

Is there a way to directly use it here? Thanks

@godfat
Copy link
Contributor

godfat commented Mar 31, 2019

I no longer use Firebase so I can't tell. But if it's just some payload you need to attach as auth, then you can just pass it along like:

f = RestFirebase.new :auth => auth

Or

f = RestFirebase.new
f.auth = auth

@godfat godfat added the help label Mar 31, 2019
@a-ta-ta
Copy link

a-ta-ta commented Dec 23, 2019

I no longer use Firebase

Sorry for being off-topic, however, does it mean that the gem won't be supported?

@godfat
Copy link
Contributor

godfat commented Dec 23, 2019

I can continue to maintain it as long as there's a clear action/fix. However right after Google took Firebase, a lot of things were very unclear to me, and I was and still in blind how things are working now.

If I remembered correctly, I can't even find REST API documentation anymore. Does that mean Google just dropped it?

In short, if you can find a clear example about how it went wrong, then I can take a look and try to fix it. But since I no longer use it, I can't even tell if it's working or not anymore. Not to mention that I can't find documentation. I think Google is pushing away from API, in favouring SDK provided by themselves so things can be broken without notice if they no longer support API.

This is sad, but without Google supporting it I don't know how we can continue on it :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants