-
400 Errors on API after scope update
I am receiving 400 errors when I try to refresh my token after updating my scope. I tried restoring the scope to the previous values and am still getting a 400 error. I have tried testing in Postman but am getting other errors. Nothing in my code base has changed other than trying to update the scope variable. This is very…
-
How to obtain an access token for accessing LTI Advantage Services
I am trying to obtain the access token by exchanging the id_token I am receiving the following error: Error: Request failed with status code 400 My Code: Also I have tried to do properly form a JWT signed with my private key and use it: const privateKey = fs.readFileSync(path.resolve(__dirname, 'private.pem'), 'utf8'); //…
-
allow-same-origin flag in your iframes for custom widgets?
I want to create a custom widget where in I add a script for a third party js widget so it would render in my course home page. But currently i'm getting an error as follows: `DOMException: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag.` `cannot set…
-
LTI 1.3 Score POST Fails "User in requested score does not exist"
I have a tool that integrates with D2L via LTI 1.3. While the LTI "Launch" flow works perfectly, I'm running into an issue when trying to post scores to the Line Item where the launch originated from. Assignments and Grade Services is enabled in the external tool settings (in D2L). I've constructed the URL and request body…
-
Access to the test brightspace LMS
Hi, I am new to the community. Apologies if this query is not directed to the right channel. We are looking to test our LTI interface with Brightspace. I understand we can use the instance hosted at https://devcop.brightspace.com after joining the Developers group. I have done that, however, the login fails on , Can…
-
403 Error when doing a GET request to /orgstructure
We are able to make a successful GET request to /organization/info but getting a 403 for /orgstructure. What are we missing? Kind regards, Gerald @ Edlink.
-
Why does Coursebuilder stop working with partitioning cookies
Hello! We are a tool provider and we have integrated our tool with BS for years. Recently, we added the support for partitioning third party cookies so that our tool continue working even though these cookies are blocked. A few months ago, we tested the partitioning cookies with quicklink, insertstuff and coursebuilder…
-
Authorization Tokens that keep Expiring
I created a widget, that allows an Instructor or Admin level to create a course using a form and entering a title, and the rest is generated for the user. Doing so requires an API POST command that requires a token. What I'm finding is the token keeps expiring. I have the auto-refresh token turned on, but this didn't fix…
-
One to many course sync
Hello, Within the Canvas LMS there is a feature called BlueprintSync. It allows you to set up a parent course and associate many child courses. When changes are made in the parent course, you have the option to propagate changes down to all the child courses through the interface. The api also allows me to send the parent…
-
Why is the enrollment GET call in my code below not working? I am receiving a 400 Bad Request error.
// Define the base URL for the Brightspace API endpoint for enrollments const baseURL = `https://example.com/d2l/api/lp/1.44/enrollments/myenrollments/`; // Define the URL for fetching enrollments with the bookmark parameter let enrollmentsURL = `${baseURL}?bookmark=1`; // Array to store all enrollments let allEnrollments…
-
Can you create two different Learner roles?
I've received a request from faculty/administration to create a secondary learner role for our institution. They would like to be able to see whether students enrolled in their courses are student athletes. I know that I can create two roles, Student and Student Athlete, but would there be a way to map those so that they…
-
How do I get a complete list of our users?
The users page only has an option for New User. I need a list of all users. Thanks!
-
LTI 3rd party content - Deep Linking Quicklink
We have a well functioning LTI tool that sets a session cookie. In Chrome this works fine, but in a standard Safari it is well known that a third party cookie is not saved in an iframe. This is solvable by opening deeplinks in a new window by default. However when an instructor adds a new deeplink using the `add existing`…
-
Role not available in course migrated from another org unit (School)?
Hello wonderful D2L community! We have somewhat of an urgent issue that I'm trying to understand. We worked with our LMS administration to create a unique role that allows us to use the LMS autonomously for our internal courses (corporate use) and still protects the academic use of the same system (students). We currently…
-
Tag management api
Hello, Is there existing API's for getting values under Tag management?
-
Bypass redirect when doing OAUTH2 login
I have an application that authenticates to D2L using OAUTH2. Our D2L instance is configured to redirect to a single-sign-on page that authenticates against Active Directory. The account my application uses is local to D2L though, it does not exist in Active Directory. If I do an interactive login I can access this account…
-
API Calls to change section association
Hello. I am hoping someone can walk me through the following article: I just started using Postman and I got the hang of the "GET" API calls. But, I'm struggling with puts and posts. I am getting the error "400" "Request has missing or invalid parameters." The call I'm making is: [our test…
-
API access / token issues via OAuth2
We're currently facing API access / token issues via OAuth2. We're using a Brightspace user account (i.e., not an institutional account) in our Brightspace to authenticate access for API use. As this is a Brightspace account, we're by-passing the institution's SSO by using a redirect link which allows the account to log in…
-
What is the future of web development in your opinion?
What is the future of web development in your opinion?
-
Documentation GET /d2l/api/lp/(version)/outypes/(orgUnitTypeId)
Dear madame/sir, This API is not documented enough: I'm missing 2 items: Oauth2 Scopes Return Can you add this information and/or provide this via this platform, so I establish a succesful request/response? Thanks in advance!