Skip Navigation

Register the identity provider for your app

The
BlackBerry Spark SDK
reuses the existing user identity within your application to facilitate getting the latest security threat information from the
BlackBerry
Cloud. The library works with your user identity and management systems to provide strong authentication and authorization.
In practice, an
OpenID Connect
Identity Token belonging to the user that is currently logged in is provided to the
BlackBerry Spark SDK
runtime.
BlackBerry
validates this token against your identity provider's token introspection endpoint. This process avoids the need to rely on an application-specific API key.
You can use any identity provider as long as it is compliant with
OpenID Connect
(https://openid.net/connect/). For more information, see Information about compliant IDPs.
If you don't have an identity provider, you can use
Firebase
as your identity provider
(IDP).
When the IDP is registered, you are provided a
BlackBerry
App Client ID which you add to your app.
  1. In your organization's
    BlackBerry
    Online Account, on the navigation menu, click
    Applications
    .
  2. Click your app.
  3. On the
    IDP
    tab, in the
    Identity Provider
    section, do the following:.
    1. In the
      Discovery URL
      field, type the discovery URL of the identity provider.
    2. In the
      Client ID
      field, type the Authorized Client ID.
    No other fields are required.
  4. Click
    Register IDP
    .
    A BlackBerry App Client ID is created.