Skip to content
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

Cannot get LtiLauncher working with Tsugi based LTI tool #51

Open
torinfo opened this issue Jan 31, 2022 · 4 comments
Open

Cannot get LtiLauncher working with Tsugi based LTI tool #51

torinfo opened this issue Jan 31, 2022 · 4 comments

Comments

@torinfo
Copy link

torinfo commented Jan 31, 2022

The error I get is:

Invalid launch since redirect_uri does not match tool setting

I think it is because of
Check 7. ii redirect_uri matches the tools target_link_uri

Tsugi uses a different redirect_uri, and in Moodle and other LMS's you can specify a list of expected possible redirect_uris. I cannot find a way to do that for LtiLauncher.

What is the best way to proceed?

@StefSchenkelaars
Copy link
Contributor

Hi @torinfo
I'm not sure if I really get the problem. What redirect are we talking about? But if the target_link_uri is not mating the redirect_uri, the tool is not following the specification since those should be the same.
Could you guide me trough it?

@torinfo
Copy link
Author

torinfo commented Feb 8, 2022

Hi, We're talking about the redirect of the tool. The redirect that is checked in check 7 in your steps. Whther that is according to specs, I don't know. I do know that all the LMS's I've used so far allow for the redierct to be configured (Moodle, Blackboard, Canvas) (mostly as a list) just like in an ordinary oidc redirect.

See below, the setup for Moodle. The final launch URL would be something like
https://xot310beta.dlearning.nl/lti13_launch.php?template_id=860

The redirect_uri is quite different.

image

@StefSchenkelaars
Copy link
Contributor

Ah, ok. In our tool that's called the target_link_uri. Yes that's the redirect of the OIDC flow but it's also the actual launch url.

@torinfo
Copy link
Author

torinfo commented Feb 8, 2022

@StefSchenkelaars In Tsugi, the launch url and the redirect_uri are not the same. See also my edit (the three lines above the image).

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

No branches or pull requests

2 participants