Sunday, December 10, 2023

Complete Information on Acquiring Consumer ID and Secret ID in ALM and Producing Authentication Tokens Step by Step. | Adobe Studying Supervisor Apps

Integrating Adobe Studying Supervisor (ALM) with exterior purposes brings versatility to your studying ecosystem. Observe these clear steps to seamlessly join ALM utilizing consumer ID and Secret.

Entry Integration Admin

  1. Log in to Integration Admin.
  2. Navigate to “Functions” on the left pane.

Register Your Software

  1. Click on “Register” on the upper-right nook to provoke the applying registration course of. Guarantee to supply correct particulars on the registration web page.

**Software Title:** Enter a singular identify on your utility.

**URL:** Specify the internet hosting URL of your utility. If uncertain, use your organization’s URL.

**Redirect Domains:** Checklist the domains the place ALM ought to redirect after OAuth authentication. A number of legitimate URLs are accepted.

**Description:** Present a concise description of your utility.

**Scopes:** Select a scope to outline your utility’s entry degree to ALM API endpoints. As an illustration, deciding on “Learner position learn entry” grants read-only entry to learner API endpoints.

**For this account solely?**

**Sure:** The appliance stays unique to your account.

**No:** Different account directors can entry the applying utilizing the generated utility ID.

Be aware: If you choose “Admin position learn and write entry” throughout registration and “Admin position learn entry” throughout API authorization, write entry is retained because the registration scope supersedes the authorization workflow.

  1. Click on “Register” on the upper-right nook after finishing the registration particulars.

Retrieve Consumer ID and Secret

  1. As soon as the applying is efficiently registered, open the app, and also you’ll discover the consumer ID and secret (utility ID and secret).

Generate Authentication Tokens (Oauth, Refresh and Entry Tokens) from ALM:

When creating purposes that work together with Adobe Studying Supervisor by means of API calls, step one is to register your utility utilizing the Integration Admin app. The Studying Supervisor APIs make the most of the OAuth 2.0 framework to authenticate and authorize consumer purposes.

Step 1: Set Up Your Software

To get began, arrange your utility with a consumer ID and consumer secret to entry the suitable endpoints. After registering your utility, get hold of the clientId and clientSecret. The authentication of Studying Supervisor customers is finished by means of pre-configured accounts reminiscent of SSO or Adobe ID.

Use the next GET request in your browser:

GET<Enter your clientId>&redirect_uri=<Enter a URL to redirect to>&state=<Any String information>&scope=<a number of comma-separated scopes>&response_type=CODE

Upon profitable authentication, your browser redirects to the required redirect_uri with a parameter code appended.

Step 2: Get Refresh Token from Code

Provoke a POST request to acquire a refresh token:


Content material-Kind: utility/x-www-form-urlencoded

Physique of the submit request:

client_id:<Enter your clientId>&
client_secret:<Enter your clientSecret>&
code:<code from step 1>

Step 3: Get hold of an Entry Token from Refresh Token

Use the next URL to acquire an entry token:


Content material-Kind: utility/x-www-form-urlencoded

Physique of the submit request:

client_id:<Enter your clientId>&
client_secret:<Enter your clientSecret>&
refresh_token:<refresh token>

Step 4: Confirm Entry Token Particulars

Confirm entry token particulars utilizing the next URL:


Further Info

  • In a headless LMS utility, the refresh_token is acquired upon the primary login. Subsequently, it’s used to generate access_tokens for consumer purposes to make API calls.
  • For content material playback, the oauth endpoint generates a cookie that manages playback involving a number of content material information and API calls. The validity of this cookie matches that of the access_token (seven days).
  • To clear the cookie, a brand new endpoint has been launched, revoking the refresh_token, cookie, or each.

Entry Token Length

The entry token has a validity interval of seven days. As soon as a day has handed, it turns into essential to generate a brand new entry token by using the refresh token. Do you have to try to generate a brand new entry token from the refresh token whereas an present entry token stays legitimate, the system will return the present token.


Conclusion: By following these simple steps, you empower ALM to work together seamlessly with exterior purposes, enhancing the general performance and consumer expertise in your studying setting. Combine, streamline, and elevate your studying ecosystem with ALM.

Related Articles


Please enter your comment!
Please enter your name here

Latest Articles