function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Integrate (LMS) portal using SalesForce Identity

Hello experts ,
We have a learning Management portals (LMS) with different type of online courses. We are trying to use Salesforce as an idP to give students access to LMS portals. Currently, We are using aspnet identity so all of the users(students) are stored in the sql database. We are planning to migrate the users by capturing username and password as they enter in the existing login page. And provision the user in salesforce using API calls in the backend.
Here are the steps we can think of to implement the project. Salesforce will be used just as a Identity Provider in the background and not giving student direct access to salesforce.
  1. User try to login in site (
  2. Capture username and password, check if the user exist in Salesforce (Using OAuth 2.0)
  3. If the user exist, get what courses(product) they purchased. We can query Asset objects in salesforce to get the courses they own.
  4. Display the student the list of courses they have purchased (in a page).
  5. Once the student click on the course links or maybe they bookmarked the link. we need to give them SSO experience to the course-portal using salesforce identity.
  6.  if the student does not exist in salesforce then provision new user in salesforce capturing username and password.
Features to manage the students in salesforce (ie terminate a student from accessing the course portal).
Is there any better way to do this project? Any suggestion or recommendation would be greatly appreciated!