Skip to content

Commit 3721d52

Browse files
authored
Merge pull request #454 from ucfopen/issue/453-dev-key-instructions
Issue/453 dev key instructions fixes #453
2 parents ae8fbd9 + fdbbdc4 commit 3721d52

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,21 @@ UDOIT uses Oauth2 to take actions on behalf of the user, so you'll need to ask y
150150
* If you did a normal install into the web root of your server, it would be `https://www.example.com/public/oauth2response.php`. (Replace 'www.example.com' with the url of your UDOIT server.)
151151
* ***Icon URL:*** The URL of the UDOIT icon. This is `https://www.example.com/public/assets/img/udoit_icon.png`. (Replace 'www.example.com' with the url of your UDOIT server.)
152152

153+
Your Canvas administrator will perform the following tasks:
154+
1. Navigate to your institution's ***Account Admin panel*** in Canvas.
155+
2. Click on the ***Developer Keys*** menu option.
156+
3. Click the ***+ Developer Key*** button and select the ***API Key*** option.
157+
4. Enter the data provided above into the form, leaving the ***Redirect URI (Legacy)*** and ***Vendor Code (LTI 2)*** fields blank.
158+
5. (Optional) If you would like to Enforce Scopes on this developer key, which limits this Developer Key to only allow access to the functions UDOIT requires, enable the option and check the boxes outlined in the [Scoped Developer Keys](#scoped-developer-keys) section below.
159+
6. Click ***Save Key***
160+
7. Find the new Developer Key in the list, and send the values from the ***Details*** column to the person requesting the key. The top value is the ***Oauth2 ID***, and the value revealed by clicking on the ***Show Key*** button is the ***Oauth2 Key***.
161+
162+
After you receive your Developer Key from your Canvas admin, edit the following variables in `config/localConfig.php`:
163+
164+
* `$oauth2_id`: The ***Oauth2 ID*** your Canvas admin gives you
165+
* `$oauth2_key`: The ***Oauth2 Key*** your Canvas admin gives you
166+
* `$oauth2_uri`: The ***Redirect URI*** you provided to your Canvas admin
167+
153168
#### Scoped Developer Keys
154169
If you'd like to use this option, you'll need set the following scopes for your developer key.
155170
* Assignments
@@ -179,12 +194,6 @@ If you'd like to use this option, you'll need set the following scopes for your
179194
* Users
180195
* url:GET|/api/v1/users/:user_id/profile
181196

182-
After you receive your Developer Key from your Canvas admin, edit the following variables in `config/localConfig.php`:
183-
184-
* `$oauth2_id`: The Client_ID your Canvas admin gives you
185-
* `$oauth2_key`: The Secret your Canvas admin gives you
186-
* `$oauth2_uri`: The Redirect URI you provided to your Canvas admin
187-
188197
### Google/YouTube API Key
189198
In order for UDOIT to scan YouTube videos for closed captioning, you will need to create a YouTube Data API key. Follow the instructions below:
190199

0 commit comments

Comments
 (0)