👋Welcome, Doorman newcomer.
In order to use Doorman with Firebase Authentication, you must first enable Firebase's IAM permissions.
This step is required before deploying.
You have two options for this tutorial:
Watch the video, or
Read through the steps below
This video shows you the entire process in 50 seconds.
Before starting it, navigate to the Google Developer console: https://console.developers.google.com/apis/api/iam.googleapis.com/overview
If you don't feel like watching a video, we transcribed the steps in screenshots below:
The link here takes you to your Google API console: https://console.developers.google.com/apis/api/iam.googleapis.com/overview
Change to the proper Firebase project, and click "Go". If you change projects in this step, you'll have to click this link again afterwards.
It will look like this when you're searching:
Now that IAMs are set up, we need to configure Google's Cloud Build API.
Open the link above, select the correct firebase project & google account at the top, and then click Enable.
If you switch projects, you'll have to click on the link again. If you have trouble finding the right page, just search "Cloud Build" at the top where it says "Search for APIs and Services."
If you aren't sure if you selected the correct project, or you can't find yours, click the project name in the top left corner. Next, click All at the top left, and then make sure the project ID matches what you put on Doorman.
The next step is deploying your project with our one-line CLI deployment.