loading Loading...
add chat to your website

How Does the Single Sign-on (SSO) Feature Work?


Single Sign-On (SSO) lets your quiz automatically identify users who are already logged into your website. This feature is used when you have embedded a quiz on your site or when you have information about the user such as their name, email id, user id and password that you wish to pass to the quiz. That way the quiz taker does not need to enter their name, email id, user id or even the password to access the quiz as these are automatically identified.


Why is Single Sign-On Required?

This feature is useful when you have a large number of users who have already logged in to your website, or you have information on a large number of users. By using Single Sign-On, users are automatically identified by the quiz (without the user being asked for their name, email id, user id, password etc) and when as the quiz author you review the report, you would see who took your quiz. This prevents quiz takers from re-entering their information each time to take the quiz and makes the overall system more secure as users are identified by the system rather than trusting the user to enter the correct identifying information.


Integrating SSO When You Link to Quizzes Hosted At ProProfs.com When you link to quizzes that ProProfs is hosting for you, you can pass to the URL the following four variables:

  • user_name - for username
  • user_email - for user's email address
  • user_id - for user's ID (this variable will remain same even you have renamed ID)
  • passkey - for MD5 encrypted password


Example: See the URL below. Notice that Email and Name boxes are not shown to the quiz taker.


The system already knows the user and prevents the user from typing in this information again.



Integrating SSO When You Embed Quizzes On Your Quiz

Let's take an example of your website URL (link) where you have embedded the quiz. 






We use four variables from query string to fetch the user data from the query string. These are

  • user_name - for username
  • user_email - for user's email address
  • user_id - for user's ID (this variable will remain same even you have renamed ID)
  • passkey - for MD5 encrypted password


You need to provide these four variables with the quiz page URL, where you embedded the quiz. 


For example:


You have embedded the quiz on the website page:  http://www.mywebsite.com/quiz/page.html


Then add the four variables like this:



The quiz will automatically fetch the username and email address from the URL. See the example screenshots below:




What is Passkey?

Passkey is an option to allow authorized users to access password protected quizzes without any password requirement.


If you have any trouble implementing the SSO on your website, please contact support for assistance.



Related Articles:

ProProfs REST API Guide
How To Auto-enroll Learners To Classroom Using API
How To Track Progress Of Learners In My Systems Using API