tl-its-umich-edu / canvas-app-explorer

A Web application that presents a list of Canvas external (LTI) tools with details. When integrated within Canvas, the user can search for specific LTI tool(s), and add or remove those tools from Canvas courses.
Apache License 2.0
4 stars 6 forks source link

issue_208 remove invalid refresh token and redirect user to the OAuth page for new token #211

Closed zqian closed 2 years ago

zqian commented 2 years ago

208

ssciolla commented 2 years ago

I'll take a look at this after lunch.

ssciolla commented 2 years ago

So this is focused on the refresh token, but there are other errors that might occur (when an authorization is removed on the Canvas side) before the token needs to be refreshed. Are we going to handle that separately?

zqian commented 2 years ago

Right. This PR only addresses the invalid refresh token problem as reported in #208

If the authorization is removed from Canvas User profile settings, the error message will be "Invalid access token", and that should be reported as a different issue.