This behavior has been resolved and deployed to the production environment as of 3/11/26.
Summary:
Users are no longer able to preview text based files that are associated with a programming language within Speedgrader or Docviewer, for example .py or .c files. Instead a message stating “JWT rejected: JTI has already been used” is rendered instead.
Expected Behavior:
To be able to preview text files in Speedgrader.
Workaround:
Re-rendering with Libre renders the file correctly.
Steps to Reproduce:
Pre-requisites: Published course.
- Create an assignment with the File Upload submission type enabled.
## Add users
- Enter Student View or masquerade as a student.
- Submit a text-based file to the assignment, such as a .c or .py file.
- Stop masquerading and navigate to Speedgrader. Notice the render of the file shows “JWT rejectected: JTI has already been used” instead of the contents of the file.
Additional Notes: