Configuring Push Notifications via FireBase

HYPR Control Center Advanced: Creating RP Applications

Follow these integration steps to facilitate out-of-band (OOB) Authentication with Firebase push notifications. This only applies to Web (not Workstation) Applications in Control Center.

Create a Firebase Project

  1. Sign up for Firebase if you haven't already.
  2. Go to the Firebase console and login.
  3. Create a project and open it; or open an existing project. If you are making a new project, give it a name and choose whether or not to link it to Google Analytics.
  1. Open Project settings.
  1. Click the Cloud Messaging tab to view the Server Key and Sender ID. Keep this page open so you can copy these values later.

Configure Control Center (CC) for Push Notifications

  1. Login to Control Center.
  2. Select the Application in question from the drop-down in the upper left.
  3. In the left navigation pane, under Advanced Config, click Login Settings.
300
  1. If it is not already on, Enable Push Notifications. The buttons below become available once the toggle is enabled.
  1. Click ADD Configuration to begin configuring your Application's push notifications. The following dialog appears:
885
  1. Complete the form using the information on the Firebase Cloud Messaging page:
  • The Project ID is the Firebase Sender ID
  • The API Key is the Firebase Server Key
  • Toggle Set as Default? to On
  • Click Save
  • Close the success message to return to the Application Login Settings dialog
886

Add Firebase Admin SDK Confguration

The second button on the Enable Push Notifications dialog allows the Firebase google-services.json file to be stored on the Control Center server for the Application to use generating push notifications.

To upload and store the configuration JSON file from Firebase:

  1. Login to Firebase and open the project you created above.
  2. Open Project Settings, then open the General tab.
  3. Scroll down until you find the Your apps section.
  4. Under SDK setup and configuration, click the google-services.json download.

  1. Login to HYPR Control Center in Advanced Mode.
  2. In the left menu, select the Application that is using the Firebase project you opened above.
  3. In the left navigation pane, under Advanced Config, click Login Settings. Notice the configuration you created in Create a Firebase Project is shown here.
  1. Click ADD Firebase Admin SDK Configuration. A dialog opens.
  1. Click CONTINUE ADDING FIREBASE JSON CONFIGURATION.
  2. A dialog appears. In the field labeled Firebase Database URL, substitute your firebase application name. Paste the JSON file contents into the expandable text field. Click Save.
  1. A confirmation dialog appears. Close it using the X in the upper right, and CC returns to Login Settings.
  1. The Login Settings pane now shows the original Firebase tile greyed out, and the only active button is Replace Existing Firebase Admin SDK Configuration. It behaves exactly as the CONTINUE ADDING FIREBASE JSON CONFIGURATION in Step 9, above.