Keep getting "No LTIK or IdToken found."message.
See original GitHub issueDescribe the bug
This may be perhaps a problem in the LTIKEY setup.
I did the setup as described in the tutorial. I am using localhost moodle and when I launch the demo tool, I get this error.
{"status":401,"error":"Unauthorized","details":{"message":"No LTIK or IdToken found.","bodyReceived":{}}}
Expected behavior Expecting it to see “Tool works” or some other success message.
Provider logs Copy of the relevant provider logs.
- Run code with debug flag:
DEBUG=provider:* npm start
. - Copy logs relevant to the issue.
Screenshots If applicable, add screenshots to help explain your problem.
Ltijs version
- Version 5.3.0
NodeJS version
- Version 12.6.1 Platform used
- Moodle (Localhost)
Additional context
Under .env file, I am using LTI_KEY=LTIKEY
. Do we need to change this something else?
Is this where I need to keep the private key?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
not able to receive an ID token from CANVAS
I am trying to get an ID token with OAuth. Below is my code,we try to get the ID token during our onPost...
Read more >"error : invalid_request" is coming instead of id_token in LTI ...
Hello, we are having the same issue, when Moodle calls our LTI tool it makes the call without id_token set correctly.
Read more >LTI integration error - MISSING_VALIDATION_COOKIE
Describe the bug We are trying to integrate the custom LTI App Media Resources into CANVAS. It works fine in MOODLE, but throws...
Read more >LTI 1.3 Troubleshooting and Technical Documentation for ...
After every launch request for adding an LTI link, the launch data will save on the site. If these data are not found...
Read more >Manage User Access Tokens - TikTok for Developers
Refresh Access Token Using Refresh Token. Although the fetched access_token expires within 24 hours, it can be refreshed without user consent. The developer's ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That makes sense! Thanks for your work.
I don’t actually recommend following that tutorial since i’ts quite outdated and based on an older version of Ltijs. Im working on updating it.
Regarding your issue, you should check if the current user is enrolled in the course, as an admin you can always access the course but you’re not necessarily enrolled in it.