ForgeRock Developer Experience

Step 2. Configure Push notifications for iOS

In this step, you configure Apple Push Notification service (APNS), which handles sending the push notifications to iOS devices.

You create a key that provides access to the service for third-parties.

Prerequisites

  • An Apple developer Admin account.

    Developer accounts cannot create the required keys.

  • An iOS application in XCode configured with the Push Notifications capability.

    You can add capabilities when creating an iOS app project, or add them to an existing project. Refer to Adding capabilities to your app in the Apple developer documentation.

    For development purposes, you can download the ForgeRock Authenticator module sample app from GitHub.

Register a new key for APNs

  1. With an admin account, log in to the Apple Developer console.

  2. Navigate to Program resources > Certificates, IDs & Profiles > Keys.

  3. Next to the Keys label, click the Add icon ().

  4. Enter a Key Name.

    For example, APNs key for Push.

  5. Select Apple Push Notifications service (APNs).

  6. Click Continue.

  7. Check the details of the key, and then click Register.

  8. On the Download Your Key page:

    1. Make a note of the 10-character Key ID.

      For example, YCH15BO820.

    2. Click Download and keep a copy of the .p8 file safe.

      You cannot download or view the key again, so ensure you have a local copy.
  9. Click Done.

You will upload the .p8 file and use the key ID when you configure Push notifications in AWS.