How to get users LTI v1.3 ID outside of the SSO payload

PhillipJacobs
Community Member

Hello!

We are looking to convert some IDs in a 3rd party system from using the Canvas User ID to each users Canvas User LTI v1.3 ID. What I don’t see and am asking how to find, outside of the SSO payload, is the Canvas User LTI v1.3 ID?

You can get both the Canvas User ID (users.id) and Canvas LTI v1.1 ID (users.lti_context_id ) within Canvas Data, https://data-access-platform-api.s3.eu-central-1.amazonaws.com/tables/catalog.html#schemas.canvas.us...

In GraphiQL I do not see either LTI value:

query MyQuery {

  legacyNode(_id: "**********", type: User) {

    ... on User {

      id

      email

      sisId

      loginId

      integrationId

      uuid

      _id

      name

      shortName

    }

  }

}

 

Using REST APIs I do see the LTI v1.1 listed as part of the user profile object, but once again not the LTI v1.3 ID:

                https://**********.test.instructure.com:443/api/v1/users/308029/profile

                "lti_user_id": "e324567bc4a21d0456gfd753bb9679ea95c0"

Thank you for your help!

-Phil

Labels (1)
0 Likes