We need to do sso login from our front end wordpress site to moodlerooms and be able to get from one site to other and vice versa seamlessly. What is the best way to do that?
There are 2 key parts to the solution:
1. Authentication - Preferably, you would use a Single Sign-On authentication like SAML, which is supported by both Moodlerooms and Wordpress. So, when the user gets to the login page, it'll redirect to the Identity Provider and see that the user is already logged in from their WordPress session, and immediately authenticate them in Moodle. Moodlerooms offers SAML authentication, but it does require configuration by our Tech Ops team at an additional cost. Alternatively, you could simulate the login request by POST'ing the username and password to the form at http://site.url/login/index.php.
2. Redirection - Moodle supports redirection after authentication through a "wantsurl" parameter in the Session. Moodlerooms has custom code to allow the "wantsurl" to be set via POST or GET parameters. So, for example, if you navigate to http://<your MR Domain>/login/index.php?wantsurl=http%3A%2F%2Fdemo2hied.moodlerooms.com%2Fcourse%2Fview.php%3Fid%3D33 and login, you'd automatically be redirected to course with ID = 33.
Expanding the discussion, Moodlerooms supports standard like SAML for SSO authentication.
Does Moodlerooms supports local custom SSO authentication?
Retrieving data ...