[MUSIC PLAYING]
MALCOLM DECK: First of all, is it a lap--
is that--
JEN PERSON: [GIBBERISH]
MALCOLM DECK: I know, right?
SPEAKER: Scene 1, take 1.
Mark.
JEN PERSON: How's it going, Firebase developers?
Welcome to an episode of "#AskFirebase,"
a show where we answer your burning Firebase questions.
I'm your host, Jen Person.
And today for a co-host, I welcome back Malcolm Deck.
MALCOLM DECK: Hey, everybody.
My name's Malcolm.
I'm still working on Firebase Authentication for the Android
side.
Really excited to talk to you today
about how to best log people into your applications.
JEN PERSON: Great.
Yeah, so we've actually gathered a whole bunch of questions
when we were doing the show.
And you said, like, if you have enough questions,
and I was like, oh, do I. This was an easy one.
I have plenty of auth questions.
So are you ready?
MALCOLM DECK: Absolutely.
Let's get started.
JEN PERSON: OK.
So our first question comes from calendee on Twitter
who asks, "Does anyone know what countries the Firebase Phone
Number Authentication option works with?"
MALCOLM DECK: Absolutely.
So first of all, we try and keep this up to date
on our public documentation.
You can absolutely check the Firebase website to figure out
which countries Phone Auth does and does not work for.
There's a very limited subset of countries
that it does not work for presently,
and we're always working on expanding that list.
You probably will find that it'll
work for most of the places that you're
interested in developing for.
JEN PERSON: Now, thank you so much for your question.
Are you ready for a new question?
MALCOLM DECK: Yeah, absolutely.
JEN PERSON: OK.
"Hi.
Is there any way to add multiple users at one time,
instead of adding one by one, the users
to the Authentication section?"
MALCOLM DECK: Right.
So this is a good question.
It sounds like what you're trying
to do is go into the Firebase console and add users,
and that's absolutely a great way
to work when you're first getting
started with your project.
But if you're trying to import a lot of user data
that you already have, this is a great use case
for the Admin SDK, which is built exactly for this purpose.
You can import entire batches of users at once from a JSON file,
so definitely check out our public documentation
to find the specifics of that.
JEN PERSON: Yeah, because you can do that
with or without passwords.
And yeah, you have a lot of different configurations
you can choose.
I also believe that you can import users from the command
line interface, as well.
MALCOLM DECK: I think so, yeah.
JEN PERSON: Our next question is,
"What's the difference between Firebase Authentication
and Cloud Identity for Customers and Partners?
In my understanding, they are basically the same service,
but why do we have to pay for one and not the other?"
We may want to start by explaining
what Cloud Identity for Customers and Partners
is, because some of our viewers might not know.
MALCOLM DECK: Right.
So for those of you that are unfamiliar,
Cloud Identity for Customers and Partners,
or what is now called Google Cloud's Identity platform,
is a paid offering very similar to Firebase Authentication.
Even though the API surfaces look very similar,
we've been doing a ton of behind-the-scenes work
to be able to offer a bunch of new and better functionality
to you through that product.
In particular, SLAs and SLOs, several new features that
are specific to enterprise-type customers, and a better
integration with Google Cloud Platform.
In addition to that, our continued work
with enterprise customers has also
spurred us to work on additional risk factors, one of which
is cross-account security.
So for example, when your Google account is invalidly accessed,
that'll also sign you out of any Firebase projects
that you're signed into.
And the only reason we can do that
is because of all this behind-the-scenes work
we've been doing on Google Cloud's Identity platform.
Stay tuned for more information about that in the near future.
JEN PERSON: Awesome.
This actually leads me to another question,
which is if someone is using Firebase Auth
and then they find that they actually
need some of these services--
their app is growing, and they realize
that they want to be able to have like an SLO,
is it possible to, let's say, upgrade
from using Firebase Auth to using Google Cloud's Identity
platform?
MALCOLM DECK: Yes, that's absolutely true.
That's the use case that we're trying to plan for here.
You start off, you build your app,
it's doing better than your wildest dreams,
and you find out that you need better guarantees
about availability, for example.
We're trying to make that transition
as easy and as seamless as possible
so that you can continue to provide a great experience
for your users.
JEN PERSON: Yeah.
That actually comes up a lot, is developers
are looking to see their app--
what do I do when my app is successful?
How do I plan for that?
How do I make sure that Firebase is going to meet my needs?
And it's nice that we have--
it's supported by Cloud so that it can grow to whatever level
they need it to.
MALCOLM DECK: Right.
I think this is the logical roadmap, really.
You start off with a free product
that makes it really easy for you figure out if what
you're building is worthwhile.
And as you get bigger and bigger,
you're provided with more and more tools that
allow you to do specifically what you need as you become
really successful.
JEN PERSON: All right.
Are you ready for another question?
MALCOLM DECK: Yeah, let's do it.
JEN PERSON: OK.
I'm really excited about this one
because I didn't know the answer.
"If we're using Google+ authentication in our Ionic
App, will it stop working once Google+ deprecated in April?"
MALCOLM DECK: Right.
So there's a lot of little pieces to this question,
but the big answer is no.
Google+ Sign-In is the same thing as Google Sign-In with
an additional scope when you request that sign-in token from
Google.
As long as you remove that scope from your sign-in,
Google Sign-In will continue to work in Firebase
as it did before.
You just have to make sure that you remove that scope.
I'm unfamiliar specifically with how
you might have to do that in Ionic, in particular,
but I imagine there should be some resources
out there to help with that.
JEN PERSON: Well, thank you so much for coming
on the show, Malcolm.
I really appreciate it.
And thank all of you for your questions.
We really can't make this show without you.
So next time you have a query about Firebase,
be sure to tag it on social media
with the hashtag #AskFirebase.
And who knows, maybe you'll see us answering it here
on a future episode.
And if you liked this video, I suggest
that you check out the Firebase YouTube channel
to see all the other great content we have on there.
Thanks so much for watching, and we'll
see you on a future episode.
There you go.
MALCOLM DECK: We good?
SPEAKER: Yeah.
MALCOLM DECK: OK, cool.
We can do it again [INAUDIBLE].
I'm here all day.