D2L Brightspace API OAuth2 Integration
Authenticating your D2L Instance with HiTA
As an organization administrator, you can authenticate your institution's D2L instance with HiTA. We use OAuth2 to authenticate your D2L instance with HiTA. For more information on the D2L OAuth2 flow, see the D2L OAuth documentation.
Registering HiTA Application using OAuth 2.0 in D2L
-
From the
Admin Tools
menu, clickManage Extensibility
. -
Click
OAuth 2.0
. -
Click
Register an app
. -
In the
Application Name
field, enter:HiTA
-
In the
Redirect URI
field, enter:https://app.hita.ai/api/lms/d2l/callback
-
In the
Scope
field, enter:organizations:organization:read enrollment:orgunit:read content:toc:read content:topics:readonly content:file:read core:*:*
-
In the
Access Token Lifetime
field, enter:3600
-
Select the
Prompt for user consent
check box. -
Select the
Enable refresh tokens
check box. -
Select the
I accept the Non-Commercial Developer Agreement
check box stating you agree to the terms. -
Click
Register
.



Retrieve OAuth Credentials in D2L
- From the
Admin Tools
menu, clickManage Extensibility
. - Click
OAuth 2.0
. - Click the name of the application,
HiTa
. - Make a note of the values in the
Client ID
andClient secret
fields.
HiTA Integration
- Click on the
User icon
menu. - Click
Organization Dashboard
. - On the
Organization
page menu, clickLMS
. - Then, click
Authenticate
. - On the
Authenticate
page, selectD2L Brightspace
. - Fill out the form with D2L details.
- In the
LMS Base URL
textbox, enter your D2L instance URL (ex. https://acme-inc.brightspace.com) - In the
Client ID
andClient Secret
textboxes, enter the values generated on D2L.
- In the
- Click
Authenticate
.

Once you have filled out the form in HiTA with the D2L OAuth details and clicked Authenticate
, you will be redirected to your institution's D2L instance, where you can login to your D2L user account and approve the connection between HiTA and D2L.

Once you have approved the connection, you will be redirected back to the Authenticate
tab of the LMS
section within the organization view. You will see a success message indicating that the connection has succeeded.
