Create an application in Adobe Learning Manager
After you install the AEM site package, you must configure an ALM application to connect your learning portal with the AEM site.
This scenario is applicable when AEM is used with Adobe Learning Manager.
Follow the steps below:
-
As an Integration Administrator, click Applications.
-
To create a new application, on the upper-right corner of the page, click Register.
-
In the Register a new application screen, enter the following details:
- Application Name: The name of the application that you are creating.
- URL: The URL of your organization.
- Redirect Domains: The hosting domains of the AEM website. You can also specify wildcards.
- Description: The description of the application.
- Scopes: Select Learner role read access and Learner role write access.
- For this account only?: Select Yes if you want to use the application for the existing ALM account.
-
After making the changes, click Save.
Note the application credentials from the screen.
Application credentials
To approve the application, click Approve.
Get the tokens
-
In the Developer Resources tab, click Access Tokens for Testing and Development.
Select Access Tokens for Testing and Development
-
Enter the following details:
Enter the token details- Get OAuth Code: Enter the client ID from the previous section and change the scope. Click Submit to get the Oauth code.
- Get Refresh Token: Enter the client ID and secret from the previous section. Also enter the OAuth code that you got from the previous step. Click Submit.
- Get Access Token: Enter the client ID and secret from the previous section. Also enter the Refresh token that you got from the previous step. Click Submit.
- Get Access Token Details: Enter the access token that you got from the previous step. Click Submit.
-
You can get the details from the JSON response that follows. The response consists of the access token, refresh token, user role, account id, user id, and the time to expire. Note the refresh token, as you will reuse that.