Qualtrics Adding SSO Authentication to a Survey
Since Qualtrics uses Entra ID (Azure) for authentication, it supports the ability to add a required login before a user fills out a form or survey. In addition to restricting access to a form to just SU community members, this has the added benefit of passing back information about the logged in user to Qualtrics. That user information can be captured by a Qualtrics form which means fewer questions you have to ask the submitter.
Adding authentication to a Qualtrics Form
To add an authentication requiring university credentials in front of a Qualtrics form, you would do the following:
Log in to Qualtrics and create a new Project (Survey)
Qualtrics will automatically create a Question Block with a single default question in it
Click on the Survey Flow button on the left
At the bottom of the Flow page, click the "Add a New Element Here" link and then choose the "Authenticator" block:
Qualtrics will insert a new block into the Survey Flow. Select the following values on that block
For Authentication Type select SSO.
Uncheck "Associate Respondent with Panel"
Check "Capture respondent identifying info". This option lets you capture information about the logged in user from the Entra authentication.
Make sure the "SSO Type" field is set to Shibboleth.
Make sure the connection is set to "Azure ID"
Note: If you are editing an older Qualtrics form that had a previous authentication block that used the old Shibboleth server for authentication, simply switching to the Azure ID authentication connection doesn't always work. Some forms seem to hang on to the old Shibboleth server as the auth source. In those cases, you will need to add a new authentication block that uses Azure ID and delete the old block.
There are only specific attributes of data the Shibboleth server passes to Qualtrics. These are listed below. The first column represents the name of the embedded field to be used in Qualtrics and is user-selectable. The second column represents the attribute coming from Azure and must match exactly (including capitalization):
 | Field (field name is user-selectable) | Azure Attribute Name (capitalization must be exact) |
---|---|---|
1 | ||
2 | legal first name | LegalFirstName |
3 | legal last name | LegalLastName |
4 | display name (preferred name) | DisplayName |
5 | netid | username |
6 | active primary affiliation | SyrEduActivePrimaryAffiliation |
7 | title | JobTitle |
8 | department | Department |
9 | education level (class) | SyrEduLevel |
10 | educational program | SyrEduProgram |
11 | OU (from enterprise directory) | SyrEduUnitCode |
To collect that information so it can be saved with a survey submission or displayed on the screen to a user filling out the form, you need to create Embedded Data variables to hold the information. This is done right within the Authenticator block currently on the screen. The variable name you want to create is on the left (and can be any name you choose) and the name of the Shibboleth parameter is listed on the left. A sample Authenticator block with the correct options selected and all the possible values collected is shown below:
In order for the login to be required before filling out the form, the Authenticator block needs to be the first thing in the flow so after filling in the information in that block as above, click on the Move link in the bottom of the block and drag the Authenticator block to the top of the flow
Blocks that display surveys should be indented after Branch on Successful Authentication. This way the survey is only displayed if the authentication succeeded (see below)
Â
That's all it takes to add a NetID login to a Qualtrics form or survey and collect and use the data Entra ID passes to Qualtrics. To understand how to use Embedded Data Variables as default answers to survey questions or in survey reporting, refer to Qualtrics's documentation on the subject.
Â