Body
Quick Links: | Environment | Solution | Root Cause |
When attempting to open the TidyUp tool in Canvas, users receive a fatal error message that includes "OIDC flow failed" and a reference to missing information in OidcClient.php
. As a result, the tool fails to load and cannot be used. This issue prevents instructors from cleaning up unused files in their Canvas course.
Environment
This article is relevant to you if:
-
You are using the TidyUp tool within a Canvas course
-
You see an error message that includes OIDC flow failed
or Missing information
. Example:
Fatal error: Uncaught Exception: Missing information. OIDC flow failed. in /var/www/html/lib/lti13/OidcClient.php:28 Stack trace: #0 /var/www/html/public/lti13resp.php(6): OidcClient->__construct() #1 {main} thrown in /var/www/html/lib/lti13/OidcClient.php on line 28
-
You are using a browser that may have strict privacy settings or blocked third-party cookies
TidyUp is a third-party LTI (Learning Tools Interoperability) integration that launches using the LTI 1.3 protocol, which relies on browser support for third-party cookies.
Solution
To fix the TidyUp launch error, follow these steps to enable third-party cookies in your browser:
Google Chrome
-
Open Chrome and select the three dots (⋮) in the top-right corner
-
Select Settings
-
From the left sidebar, select Privacy and security
-
Select Cookies and other site data
-
Choose Allow all cookies
Mozilla Firefox
-
Open Firefox and select the three lines (☰) in the top-right corner
-
Select Settings (or Preferences on some systems)
-
Go to the Privacy & Security panel
-
Under Browser Privacy, choose Standard
Safari (Mac)
-
Open Safari and select Safari in the top-left corner of your screen
-
Choose Settings (or Preferences in older versions)
-
Go to the Privacy tab
-
Uncheck Prevent cross-site tracking
-
Uncheck Block all cookies
Now you should be able to open TidyUp in Canvas without encountering the OIDC flow error.
Root Cause
When third-party cookies are blocked in a browser, it interferes with the OIDC (OpenID Connect) authentication flow required by LTI 1.3 tools like TidyUp. Because the session data cannot be shared correctly, the authentication fails, resulting in a fatal error and preventing the tool from launching.
Still need help? Reach out to the Technology & Learning Program for further assistance.