This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Configuring a new Open edX content source
Andrew Ang edited this page Jul 12, 2018
·
1 revision
- Go to LMS admin ({host}/admin).
- Go to Django OAuth Toolkit > Applications > Add application (/admin/oauth2_provider/application/add)
- Copy the client id / client secret that is generated. Fill in other fields:
- User = choose an existing admin user (API is able to list all courses the user has access to)
- Redirect uris: leave blank
- Client type = Confidential
- Authorization grant type = Client credentials
- Name = choose a useful name (e.g. domain of the bridge host)
- Skip authorization = leave unchecked
- Save
- Then go to the bridge admin.
- In bridge admin, go to API > OAuth Clients to create a new oauth client (/admin/api/oauthclient/add/), using the id and secret you previously generated in the content source admin, and provide a useful name (e.g. domain of the open edX instance).
- In LMS admin panel, go to Lti_Provider > Lti consumers > Add lti consumer.
- Provide a useful name (e.g. domain of bridge host) and copy the generated key and secret.
- In Bridge admin panel go to Bridge_Lti > Content Sources > Add Content Source
- Fill in key secret previously generated in contnet source, and provide other fields:
- Name: useful name (e.g. content source domain)
- Lti metadata - optional, but you can list LTI parameters here that you want the bridge to pass on the LTI parameters to the engine.
- O auth client - select oauth client you just previously set up
- Host url: full url of the host (https://example.co)
- Is active: true (if you want content source to be visible in the admin)
- Source type = edX Source