-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set up multiple launch paths? #28
Comments
Due to the way that LTI apps are registered in Canvas (not all apps are registered, only the ones with API access), CACCL is designed to only support one launch path. The standard way of having multiple ways of launching the tool is to provide a custom parameter. To see how these custom parameters are added, check out this lti xml builder form and use the "custom fields" area: All variations of the app will still use the same launch path, but use different custom fields. For example, you could have a custom field called "type" that could have values "course" or "user" or "admin". Once the app is launched, the I hope this helps! Gabe P.S. The custom launch paths field that you found for the dev environment is actually for a separate purpose. For self-launched apps, the user flow starts with visiting an unauthenticated path (e.g. /home/tutorials) which probably would log the user's destination, perform a self-launch, and then upon launch, redirect the user to the place they were trying to go. This doesn't seem to be the launch process that you're going for, so I would actually fully remove those custom launch paths. |
Hello @gabeabrams,
I added my app to Canvas, but I need multiple launch paths (course, user & admin). How do I do this? I have this in my
config.xml
:The
course
,user
andadmin
routes are correctly set up in my app, but if I click the link in the (sub)account navigation, I get this error:I tried several variations of the launch URL (e.g.,
/canvas/launch/admin
), but without success.In development, I used this config:
How do I configure this correctly for a production environment? Could you please point me in the right direction?
The text was updated successfully, but these errors were encountered: