Expose group membership in LTI handshake

Idea created by David Morton on Jun 27, 2018
    Open for Voting
    Score2
    • Rob Ditto
    • David Morton

    It would be nice to have the current group (for the current course) a person is a member of, provided in the LTI handshake.   Use case:   We have an LTI app that generates surveys.   We want to divide a course into different groups, and assign different surveys to each group.  We can get a list of available groups in many ways; via com.instructure.Course.groupIds, API call,  or simply by looking at the web interface and copying down the group id that shows up in the restful urls.   Unfortunately, there is no current option to provide the group membership in the LTI call.

     

    The LTI variable substitution document currently has:

    com.instructure.Course.groupIds

    returns the Canvas ids of all active groups in the current course.

    Availability: when launched in a course
    Launch Parameter: com_instructure_course_groupids

    23,24,...

    Canvas.group.contextIds

    returns the context ids for the groups the user belongs to in the course.

    Availability: always

    1c16f0de65a080803785ecb3097da99872616f0d,d4d8d6ae1611e2c7581ce1b2f5c58019d928b79d,...

     

     

    What I want:

     

    com.instructure.Course.groupMemberIds

    returns the Canvas ids for the groups the user belongs to in the course.

    Availability: when launched in a course
    Launch Parameter: ???????

    23

     

     

    I'm not sure if that can be plural or not, but the point is, to return an id  or ids that are a subset of com.instructure.Course.groupIds