angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Add more info about FirebaseAppConfig in docs

Open sasxa opened this issue 10 years ago • 4 comments

Could you add more information on where exactly do we find values for FirebaseAppConfig? I've looked at Firebase Console, but I'm not sure what goes where...

  • apiKey - Where do I get that?
  • authDomain - Is this OAuth redirect domains value? From here: https://console.firebase.google.com/project/<PROJECT_NAME>/authentication/providers? There are two Authorized domains here: localhost and <PROJECT_NAME>.firebaseapp.com. Do I use localhost for development and change to the other one in production?
  • databaseURL - This is https://<PROJECT_NAME>.firebaseio.com/? From https://console.firebase.google.com/project/<PROJECT_NAME>/database/data?
  • storageBucket - gs://<PROJECT_NAME>.appspot.com from https://console.firebase.google.com/project/<PROJECT_NAME>/storage/files?

I think some additional info about getting these values should be in Installation and Setup #Bootstrap...

sasxa avatar Jul 01 '16 06:07 sasxa

OK, now I feel silly (: There's a WEB SETUP button in the Authentication section of the console at: https://console.firebase.google.com/project/<PROJECT_NAME>/authentication/users, that opens a popup with all values for FirebaseAppConfig...

Maybe mention that in docs?

sasxa avatar Jul 01 '16 06:07 sasxa

don't feel silly, I was just trying to figure this out too until I found this post, thanks :)

eddedd88 avatar Jul 03 '16 23:07 eddedd88

many thanks for selfanswered 👍

alvarodoune avatar Dec 01 '16 02:12 alvarodoune

Reopening so we can review the docs and see if there's an appropriate fix here.

katowulf avatar Dec 01 '16 14:12 katowulf