Sakai

Sakai OAuth tool configuration

One can skip the Sakai OAuth tool configuration section if the tool is already configured in the instance. If so, one can move to the next section Sakai OAuth consumers configuration.

In order to enable OAuth flow, one must have administrator login and need to follow the following steps:

  1. Login Sakai instance with administrator credentials and go to the Administration Workspace.

    Screenshot showing Sakai Administration Workspace.
  2. On the left panel, click on Sites menu and click on Edit site icon on the Site Id !admin.

  3. Click on Add/Edit pages at the bottom of the page.

  4. Click on New Page and add Title of the page.

  5. Click on Tools in Continue Editing section at the bottom of the page.

    Screenshot showing Sakai Tools Continue Editing.
  6. One has to add a new tool in the page by clicking on New Tool at the top of the page.

  7. Then one has to select oAuth Admin(sakai.oauth.admin) in the features dropdown.

    Screenshot showing Sakai OAuth Admin.
  8. Like !admin, one has to edit the !user template by clicking on Edit site icon. If it is difficult to find the template !user in the listing, one could use search filter in the page by just typing !user in the search box.

  9. One has to scroll down the page and click on Add/Edit pages.

  10. Click on New Page at the top of the page.

  11. One has to provide the Title and click on the Tools.

  12. After the new tool button is clicked, one has to select Trusted Applications (oauth.admin) in the features dropdown.

    Screenshot showing Sakai Trusted Applications.
  13. Now it is time to refresh the page by clicking on the refresh icon in the browser on the Administration Workspace and oAuth Admin should appear on the left menu.

    Screenshot showing Sakai oAuth Admin Menu.

Sakai OAuth tool configuration

  1. Click on the oAuth Admin on the left menu

  2. Click on Add a consumer link and fill the form. One has to at least provide the following details while filling the form and the oAuth callback URL should always be https://lti.sensusaccess.com/home/oauth1response.

    Consumer’s key: Any text
    Consumer’s name: Any text
    oAuth callback url: https://lti.sensusaccess.com/home/oauth1response
    oAuth secret: Any text

  3. One can note down the Consumer's key and oAuth secret because these pieces of information are needed in the SensusAccess LTI portal later. Click on Save button.

  4. Click on Enable record mode in the consumers listing.