Configure the app resources in BlackBerry Online Account
BlackBerry Online Account
This task must be completed by someone (you or the
UEM
administrator) that has access to the BlackBerry Online Account
that is associated with the UEM
domain. You or the UEM
administrator use the BlackBerry Online Account
to:
- Add the details of the app (name, description, entitlement ID, version, capabilities)
- Create a client template that defines the default settings for all clients that belong to the app
- Use the client template to define the app client and generate a unique client ID (and if applicable, client secret) that the app can use to connect toUEMand invoke the REST APIs
For all tasks that involve the use of
BlackBerry Online Account
, see the BlackBerry Online Account User Guide for complete instructions.If an administrator will complete this task, review the steps below and give the administrator the necessary information that they will need to specify (name, entitlement ID, entitlement version, preferred token endpoint authentication method, and so on).
- Log in to BlackBerry Online Account and navigate to your organization.
- On the menu bar, clickApplications. On theOrganizationtab, clickAdd Application.
- Specify the app details. In theCapabilitiessection, select theBlackBerry Platform APIscheck box only (unless you are making changes to an existing app that uses other capabilities). For example:
- Name: BB Sample Authorization Code App
- Entitlement ID: com.domain.bb.sample.ua
- Entitlement version: 1.0.0.0
- Type: Application
- Capabilities: BlackBerry Platform APIs
- ClickAdd Application.
- On theBlackBerry Platform APIstab for the app, on theTemplatetab, clickAdd Template.
- Specify the template details. Specify or select the following options:
- Redirect URLs: the app web page address thatBlackBerry Enterprise Identitywill invoke as a browser redirect for user authentication (for example, https://localhost:9443/cb)
- Type: web
- Grant Type: authorization_code
- Response Types: code
- Token Endpoint Auth Method
- To generate a client secret code, click client_secret_basic.
- To require the generation of a public/private key pair (you will register the public key when you define the client in step 8 and on), click private_key_jwt.
- API Scopes: Mobile Device Management
The SampleWithAuthorizationCodeAndClientSecret.java sample demonstrates the use of the client_secret_basic token endpoint authentication method. - ClickRegister.
- On theBlackBerry Platform APIstab for the app, on theClienttab, clickAdd Client.
- Specify the required information.Example for SampleWithAuthorizationCodeAndClientSecret.java
- Client Name: BB Sample Authorization Code Client
- Tenants: Select theUEMtenants that the client app will contact to invoke the REST APIs.
- ClickRegister.
The client ID (and if applicable, the client secret) is generated. The client app will use the client ID and either a client secret or private key (depending on the configuration) to connect to the
BlackBerry Web
Services
REST APIs.