canvas-lms/public/javascripts/lti
Xander Moffatt b2a7cd9e9c accept explicit client id when retrieving tool
* this will assist in finding the MS Teams tool in non-iad regions,
during a full window launch in Safari

refs INTEROP-5960
flag=none

test plan
* create two context external tools that:
  * are on different shards
  * have different domains
  * are linked to the same developer key
* retrieve a tool using the external tools API:
  * using an API access token and header `Authorization: Bearer <token>`
  * GET `<canvas>/api/v1/courses/:id/external_tools`
* try to retrieve tool B from tool B's shard, using tool A's url
  * using the above API request,
  * add this query parameter: `?url=<encoded url of tool A>`
  * this should not find a tool and return nil, since the tools have
    different urls
* try again
  * using the above API request and query parameter,
  * add this query parameter: `&client_id=<developer key id>`
  * this should succeed and retrieve tool B

Change-Id: Ife6912c01c16bb3209c9d3e39c92468b4f2e9ce8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/244148
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Michael Guymon <mguymon@instructure.com>
2020-08-12 18:10:20 +00:00
..
__tests__ ignore unparseable postMessage events 2020-07-07 19:40:38 +00:00
post_message accept explicit client id when retrieving tool 2020-08-12 18:10:20 +00:00
messages.js ignore unparseable postMessage events 2020-07-07 19:40:38 +00:00
select_content.js Check if placement is truthy for select content dialog 2018-12-13 17:20:53 +00:00
setDefaultToolValues.js Run prettier and add in public/javascripts to prettier whitelist 2019-10-10 22:09:33 +00:00
tool_launch_resizer.js Run prettier and add in public/javascripts to prettier whitelist 2019-10-10 22:09:33 +00:00