Implementing Activity Integration
An overview of implementing activity integration with the remote login token.
This section guides partners on integrating R1 Learning activities into their applications using Remote Login Tokens.
Purpose
To enable users to take R1 Learning activities directly within a partner application via an iFrame.
Steps
Generate Remote Login Token: Follow the steps in the Generating Remote Login Tokens section.
Retrieve Activity URLs: Use the List Company Activities endpoint to obtain activity URLs or identifiers.
Retrieve User IDs: Use the List Company Users endpoint to obtain User IDs.
Construct the Activity URL:
Base URL: https://discover.r1learning.com/activity/[ACTIVITY_SLUG]/start/
Query Parameters:
rlt=[RLT]: The generated Remote Login Token.
rlt_uid=[USERID]: The R1 Discover User ID.
Example URL:
https://discover.r1learning.com/activity/identify-my-values/start/?rlt=abc123token&rlt_uid=17434
Embed in iFrame:
<iframe src="https://discover.r1learning.com/activity/identify-my-values/start/?rlt=abc123token&rlt_uid=17434" width="800" height="600" frameborder="0" allowfullscreen></iframe>
Notes
Ensure the URL is constructed with valid tokens and IDs.
Test the integration in a development environment before deploying to production.
Last updated