Currently when something goes wrong with the CAS auth callback the user gets an annoying screen with an unhelpful error message. I would think this could be improved if a TA is interested. Not sure how you would test that but one way this happens is if someone not currently taking, instructing, or TAing for 240 tries to login, they get an unhelpful message
. I suspect this may be inside a method inside CanvasIntegrationImpl which may always assume a response with an array length of one, which wouldn't be the case for someone not in the current canvas course.
This can also happen if the CAS redirect takes too long
.