Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Error with deleted user authorization #249

Open
zqian opened this issue Jul 19, 2022 · 1 comment
Open

Error with deleted user authorization #249

zqian opened this issue Jul 19, 2022 · 1 comment

Comments

@zqian
Copy link
Member

zqian commented Jul 19, 2022

There are two cases related to deleted user authorization:

  1. if the user removes the authorization for CAE in Canvas but the token is still active
  2. if the user's token expires and the authorization is removed, but the application is still open and the user tries to add or remove a tool

Handling these other cases may require some custom middleware and perhaps redirect logic on the frontend.

generated from #208

@jonespm
Copy link
Member

jonespm commented Jul 20, 2022

These are both edge cases that involve someone going and removing authorization.

We haven't noticed any of these types of failures in the logs for our other apps.

I think it's pretty unusual for someone to go in and remove authorization but we still should make sure this works, probably more 1 because 2 would require them to actually have the tab open in a separate window where they removed the authorization.

The workaround currently would be for an admin to go in the UI and remove their token if we got a ticket with this problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants