Learning Tool Interoperability (LTI) is a standard to make the workflow of your assignment administration more efficient. One of the purposes of LTI is to automatically provision users in Ans. In other words, you don't have to create accounts manually, the integration will take care of this.
When you use an LTI integration, a link is created between the Learning Management System (LMS) and Ans. When a user clicks on an LTI link, a request is sent to Ans. In this request Ans receives the following attributes in the backend. Some attributes are visible in the interface, but some of them aren't. These are saved in Ans and are used in the backend.
- LTI Integration ID (not visible in Ans)
- LTI User ID (not visible in Ans)
- Given name of the user (visible as first name in Ans)
- Family name (visible as last name in Ans)
- Email (visible as email address in Ans)
- Role (visible as role in Ans, can be either student or staff)
- Person Sourcedid (visible as student number in Ans)
- Optional custom attribute: "student_number" (visible as student number in Ans)
If a user is trying to login, Ans is using different steps to check if a user already exists. If the users doesn't exists yet, Ans tries to create a user with the information provided from the LMS.
In the following list of steps, there are multiple moments when Ans tries to create a new account or tries to match information with an existing account. The following two guidelines can be taken into account if this happens:
- If the user role in the LMS is not a student, but for example Instructor, Administrator or any other non-student role, Ans will give the role 'Staff' to this user. The attribute 'Persons Sourcedid' and the optional custom attribute "student_number" are ignored.
- If any non-numerical values are present in the custom attribute "student_number", they are stripped off the value so only numerical values remain.
Once a user clicks the LTI link, the following process steps are initiated:
- When an LTI request is made from the LMS to Ans an encrypted message is sent which contains the course, assignment and user information. If Ans does not receive this encrypted message, an error message stating "Missing platforms' identifier token" will be shown.
- Based on the LTI Integration ID, Ans attempts to find the correct school. If the correct school is found then Ans will match or create the user in that school. If the school is not found, an error message stating "Forbidden" will be shown.
- Ans attempt to decrypt the attributes sent from the LMS containing the course, assignment and user information. If Ans is unable to decrypt the attributes an error message stating "Unable to decrypt message" will be shown. This usually happens when the integration has been incorrectly configured.
- Ans attempts to match the user with the LTI User ID. The matching is successful if the user has used an LTI link before, as this is the only way the attribute is filled in Ans. If an existing user is found, then the given name, family name and email address are filled or overwritten.
- If the LTI User ID can't be found, this means the user hasn't used an LTI link before. In that case, Ans attempts to find the user based on the student number. Ans will check the optional custom attribute "student_number" first. If that field isn't filled, Ans will check the person sourcedid attribute. If this attribute is found, Ans will fill or overwrite the given name, family name and email address. Additionally, Ans will fill the LTI User ID field.
- If no user is found based on one of the student_number attributes, Ans tries to find a user based on the email. If a user is found, then the given name and family name are overwritten. Additionally, Ans will fill the LTI User ID field.
- If Ans is unable to find the user based on the LTI User ID, student number or Email, then Ans creates a new user.
After matching or creating an account, the user is redirected to Ans. Students will be directed to the page where they can start the assignment. Staff members are redirected to the page where they can edit the digital test.
error_outlineProvisioning via LTI can be used to add users to a course and a test. It can't be used to create groups within a course.
Comments
0 comments
Article is closed for comments.