-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Deep Linking - Fails for Blackboard #237
Comments
Hello, @tomitrescak is this solved...I was able to implement LTI in my org. and we even have customers using it on Avendoo and Moodle...let me know if you need help with this :) |
No, the deep linking is evading us. Linking of type “link” works but linking “ltitoollink” always leads to the “invalid link” above. I have no idea how to debug it. It seems like configuration issue or me not sending correct data. But it just does not work. |
Are you using any custom parameters? Would you be so kind to show me screeshot of your blackboard config and the code for deep linking route? This is mine: router.post("/deeplink", async (req, res) => {
try {
const resource = req.body;
const items = [
{
type: "ltiResourceLink",
title: "My Tool Link",
},
];
const form = await lti.DeepLinking.createDeepLinkingForm(
res.locals.token,
items,
{ message: "Successfully Registered" }
);
if (form) return res.send(form);
return res.sendStatus(500);
} catch (err) {
console.log(err.message);
return res.status(500).send(err.message);
}
}); |
Hello @tomitrescak I also have a medium article on this, so that no one has to break their head on how to implement LTIv1.3 I have a discord as well siddharthroyc_97017 , this will notify me on mobile..and I can help sooner...I would ask you to go through the code and the article, if the answer below does not help, or may be reach me out on discord. Ok, so you are asking if I am using any custom parameters for deep-linking- I think not because the LMS stores the link to the tool provided by me, but when the course is launched by the LMS I get a kind of id from the LMS and I use it to launch the course. For all my testing purposes I have used Moodle. For custom parameters, what I would do is may be call some endpoint to store those parameters somewhere just before the deeplinking request and retrieve them and use it when the course is launched -- dont know if this helps.. but may I ask why do you need custom parameters. |
Hello, this is very helpful and amazing article! I have a couple of questions:
Thanks a lot |
This more of a questions.
Igot everything working but Deep Linking.
For some reason, when I submit the deep lnked form, it generates "Tool (Invalid Link)" In Balckboard fro me that I cannot click on. Any idea what could be the issue?
This is the jwt token generated by ltijs.
This is in Blckboard:
The text was updated successfully, but these errors were encountered: