Integrating WPLMS with our App to Enable Single Sign On

Home Forums Legacy Support Support queries Other issues Integrating WPLMS with our App to Enable Single Sign On

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #135413
    leadliaison
    Participant
    Hello,   We have a software application that users login to. Instead of requiring users to create a separate login to WPLMS, we would like for them to be able to seamlessly login to WPLMS once they have logged into our app. I noticed the article below, and have also seen your Social Connect Plugin (not exactly what we're looking for though). We use SimpleSAMLphp in our app to manage single sign on.   https://wplms.io/support/knowledge-base/wplms-oauth-server/ I look forward to your reply.
    #135535
    Anshuman Sahu
    Keymaster
    Well please confirm are you using this library ? https://simplesamlphp.org/ I guess when user is created in your software app then it will make a hit on wplms site also with user credentials and security params to create user account . similar thing is done in bp social connect plugin.
    #135555
    leadliaison
    Participant
    This reply has been marked as private.
    #135782
    Anshuman Sahu
    Keymaster
    When user is created in your software app then you should make a hit on wplms site also with user credentials and security params to create user account . check register_user function in vibe-course-module/includes/api/class-api-user-controller.php file
    similar thing is done in bp social connect plugin.
    #135810
    leadliaison
    Participant
    Hi Alex, I understand what you are saying, but it's not just creating a user login automatically that we need. We need to be able to automatically log people in after clicking a button in our app/software to access WPLMS, after the user has been created.  
    #135909
    Anshuman Sahu
    Keymaster
    Well wplms uses wordpress login and wordpress sets cookie in browser to initiate user log in . So you would need to open the browser on user's machine through your app  and then make user login so that  . wordpress login requires : 1. setting cookie in browser 2. makes an entry same as cookie value in database / It uses both the above to set the user session . refer  :  https://developer.wordpress.org/reference/functions/wp_set_auth_cookie/
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Integrating WPLMS with our App to Enable Single Sign On’ is closed to new replies.