Navigate/Search

Firebase Authorization – User Accounts Links

To be clear when you want to set up Firebase Authorization you must do two things:

  1. Set Up Accounts
  2. Set Up Rules

This post is about setting up accounts.

You have a lot of choices when it comes to setting up accounts.  You can have your own accounts.  That means that users enter their emails address and passwords.  Then Firebase manages it for you.

Another option is to use an existing system.  Examples of existing systems are gmail, twitter, and facebook.

Basically, when someone logs into their existing account they are logged into your application too.  Then when you save user specific data you just save their account name along with it and you can use that account name to query with.

I chose to use gmail.  Technically this means that a user can’t log into my site if they don’t have a gmail account… I am fine with that.

There are two important links:

As far as I can tell (at this time) the google one is a bit out of date so getting the app working is going to be tricky.

 

Leave a Reply