Enable the app in UEM
The
UEM
administrator must complete the steps below to authorize the client app with BlackBerry Enterprise Identity
(the token issuer) and BlackBerry UEM
(the provider of the BlackBerry Web
Services
REST APIs).- In theUEMmanagement console, on the menu bar, clickSettings > BlackBerry Enterprise Identity > Services.
- In theOpenID Connectapps table, click+.
- Click the app name that was added inBlackBerry Online Account.
- Complete the prompts and add the app.
- If any changes are made to the client template or app clients defined inBlackBerry Online Account, theUEMadministrator must repeat this task.
- Compile and run the app to verify that it can invoke theBlackBerry Web ServicesREST APIs.
If you’ve used one of the sample apps to complete the tasks in this section, you can compile and run the sample app with the following arguments:
SampleWithAuthorizationCodeAndClientSecret.java
-c <arg> Client id -cs <arg> Client secret -t <arg> Tenant id -uem <arg> UEM endpoint