Closed probablypablito closed 1 year ago
@probablypablito this looks great! I'll need to convert it to a service class. One thing, did you implement a way to get the Client JSON? I see you implemented a way to get the services JSON, but how about the client JSON
Also, any chance you can implement the ability to check if a project with the selected name exists, and if it does, just fetch the JSONs for the existing one? Basically, I want the following flow when setting up the server:
You dont have to worry about all that. But being able to check if a project exists already would help that workflow
I'm not sure what you mean by the Client JSON, I only did the ones that you have to drag and drop into BB currently.
GETing this URL will test if a project named bluebubbles
exists: https://cloudresourcemanager.googleapis.com/v1/projects/bluebubbles
If it does running the getGoogleServicesJson
and getPrivateKey
functions will work.
Closing as this is now implemented natively in my branch zach/google-login
Uses Firestore instead of Realtime DB