-
Enrollments API list order, recent change from sortable_name to ???
Good Morning, Basically forever, this particular API call would return users in order by their sortable name https://usflearn.instructure.com/api/v1/courses/sis_course_id:EVR2001.003U21/enrollments?role=StudentEnrollment However, within the last few days, this API call is now returning the users in a seemingly arbitrary…
-
Getting the roles available in a course?
Is there a way of getting the roles available in a course? I don't need all the permissions that each role has, just the roles that are available. You can a list of roles for an account, but most of our users in a course don't have access the account that contains the course and so can't use the account API endpoint…
-
Cannot launch LTI 1.3. assignments in IFrame: Canvas auth cookies are blocked
I am using Google Chrome > 91. When I set up Canvas as an LTI 1.3 platform and try to launch LTI tools inside an IFrame, the LTI launch fails with error: login_required and error_description: Must have an active user session. The error is a response toauthorize_redirect/calls, part of the LTI 1.3. OIDC authentication flow.…
-
Does anyone have a list of the views where JS and CSS overrides are loaded in the apps?
Basically the title, id like to know if anyone has handy a list of all of the views where the custom theme based JS and CSS files are loaded in the apps. This would help us in knowing the scope for customisations in the app and better help us support customisations in both the browser and mobile environments. My current…
-
Word Count Feature in SpeedGrader (Feedback and Testing Support Requested)
Hello everyone, This is my first time learning about MutationObservers and I saw there was a feature request for a word count in SpeedGrader. So for a weekend project, I decided to give it an initial attempt. I know the code can be cleaned up more, but this is an initial prototype. Please let me know your thoughts about…
-
Is there a way to launch an LTI Tool within the Users account profile?
We would like to add an LTI Placement link to the right side of a users profile. For example, if you go to canvasdomain.com/accounts/1/users/33 you'll see something like the below screenshot. I've marked with a red box the location where we would want to add a link to launch our tool Is there a placement for this and I'm…
-
LTI External Tool - where to get iframe return url without losing LTI Data
I am a developer trying to implement the LTI integrations with our web application. I am a system admin in canvas but am using it like a teacher. I have successfully implemented the LTI return type `lti_launch_url` with my LTI app, but I'm struggling to figure out the proper way to embed an `iframe` without losing the LTI…
-
How do I implement SSO integration in my web app?
I have to integrate CANVAS Integration for SSO The process will be, users can start on my web/app and click a "Sign In With Canvas" button. CANVAS will then prompt the user for their username and password. After the user has signed into CANVAS, they are redirected back to your website with the user details. I am calling…
-
Create a Quiz Question
Hi all this is my POST request using Postman to create a quiz question. https://canvas.instructure.com/api/v1/courses/2775624/quizzes/8044367/questions?"question_type"= "essay_question",&"question_name"= "QuestionOliverTest", It works, but only creates a "text_only_question" not an essay question?
-
Using Python canvasapi module to find who hasn’t submitted assignment
Hello, everybody, Introduction: My school requires us teachers to send out emails to parents and fill out a Google form when a student doesn’t turn in their homework. Naturally, I’ve been using Python to stream line this process to save myself time. What I’ve been doing for the past year is downloading the grade book from…
-
Maintaining LTI connection when reloading tool
Hello, I am the Canvas LMS Manager for my school district and I know PHP and MySQL but have just started dabbling in building LTI tools. I recently forked the Basic LTI Tutorial Using PHP and was pretty excited to get some basic tools to embed into Canvas and be able to use the Users information. They were fairly…
-
API Login with email/password
Hi, I'm developing an external application that I would like to integrate with Canvas API. I have a login form, where I want users to log in via their email and password (The same credentials they use for logging into Canvas). I looked at the API and the OAuth endpoints but couldn't find how to log in with email/password.…
-
Clicking Back Button After LTI 1.3 Launch Throws Error
I have found that clicking the browser's Back button after a LTI 1.3 tool launch throws an error. The sequence looks like the following: [ User clicks LTI tool link in the Modules area ] 1. GET https://{canvas_domain}/courses/1/modules/items/62 2. POST https://{tool_domain}/{lti_login_path} 3. GET…
-
Hello World LTI Tutorial
Hi community! I was wondering if there was some sort of guide or tutorial on getting a sort of "Hello World" LTI app working that echoes back some basic info like the user ID, etc? I found an old one but it looks like it uses an older version of LTI. The link to sample code listed here is…
-
JavaScript and dynamically loaded elements
Hi community. I am creating a little addon to our Calendar events that allows people to click a button to register for a session. My script works just the way I want it in the full calendar event view because I can simply use: $(document).ready(function() and document.getElementById("my-button-id") and onclick etc. But I'm…