Recieving Canvas logout events to LTI

Jump to solution
26-05-ins-111
Community Novice

We would like to get notify the user logout event from Canvas to our LTI. Notifications we are looking is purely related to browser. For example, An user log into canvas and navigate to one of LTI UI section. In case user logged out from Canvas, is there a way to listen to this event from LTI side?

1 Solution
jpoulos
Instructure Alumni
Instructure Alumni

There is an undocumented logout service (I've got a ticket open to add documentation for it). It's described here: https://canvas.instructure.com/courses/913512/pages/logout-service


To obtain the logout service URL, you would need to 
add a variable substitution to your configuration for $Canvas.logoutService.url


You'd then do an OAuth signed request to that URL with a 'callback' query parameter:

<value of 
$Canvas.logoutService.url>?callback=<URL that you want Canvas to hit to log the user out>
Jesse Poulos
Partner Integrations Specialist
Instructure

View solution in original post