If I link to https://canvas.example.com/courses/123/ then users are prompted to login with the default authentication option, and then redirected to their destination. Can anyone think of a way to make this work with secondary authentication methods too?
For example, local Canvas accounts are our default authentication option, and deep-linking works fine for people who use these. However some people instead use ADFS (SAML) authentication, and log in at https://canvas.example.com/login/saml/. What I want is a way to deep-link to courses so that these people can login and be redirected to their destination -- something like https://canvas.example.com/login/saml?dest=https://canvas.example.com/courses/123/.
Does anyone have a suitably clever solution for this?