DEV Community

Seong Bae
Seong Bae

Posted on

How to grant access to Firebase Cloud Messaging (v1 API)

Create service account
Go to your Google Firebase Console, open a project you want to integrate

Navigate to Project Overview → Project Settings

Go to Service accounts → Manage service account permissions

Click onCreate service account

Fill in Service account ID field, click on Create and continue

Click on + ADD ROLE

Find and select Firebase Cloud Messaging API Admin role, press CONTINUE

Third step “Grant users access to this service account” is optional. You may press DONE

Create and share service account JSON key
Find your new service account, click on ⋮ on the right side and select Manage keys

Click on ADD KEY → Create new key

Choose JSON and press CREATE

Copy the contents of the JSON file.

Source: https://docs.ngrow.ai/en/articles/8886580-how-to-grant-access-to-firebase-cloud-messaging-v1-api

Top comments (0)