Qwickly LTI: {"code": "Unauthorized", "message": "Site login required"} Error Message

Users of Qwickly's LTI tools may sometimes observe the following error message when trying to use our tools:

{"code": "Unauthorized", "message": "Site login required"}

This error message doesn't originate from Qwickly and seems to come from the LMS system. 

What causes this error to appear?

Qwickly LTI uses your LMS's Authentication REST APIs to authenticate the current user with the LMS system (This process is done to ensure the user trying to access Qwickly's LTI tools is indeed the same user who is currently logged into the LMS system). 

The error seems to be appearing for users when the tool is going through this workflow. Furthermore, this error only seems to appear for Users who are using an LTI placement that is launching the tool within the LMS in an iframe element. 

We have been unable to pinpoint the exact causes of this issue, as this error message doesn't seem to be well documented. However, we do have a few ideas. Web Browsers have recently started applying more stringent checks on external tools that are loaded in an iframe from making requests or accessing cookies (more information here). 

How can I fix this?

For clients who have reported this issue in the past, Qwickly's best suggested solution for this issue has been to update their placements to open in a new window. Clients have reported that this change has fixed this issue for them.

Here are steps on how to update the tool to open in a new window on each supported LMS:


  • Go to System Admin > LTI Tool Providers > www.qwickly.tools > Manage Placements
  • Open your existing LTI placement
  • Set "Launch in a New Window" to True


D2L Brightspace

  • Navigate to the Org-level or Course-level Navbar where you've configured the LTI link
  • Click on the edit icon for the specific LTI link
  • Set "Behavior" to "New Window/tab"
  • Click on "Save" and then click on "Save and Close" on the Navbar to update the behavior.



Please sign in to leave a comment.
Powered by Zendesk