canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

graphQL scope issue

Open gor-gevorgyan opened this issue 4 years ago • 3 comments

Summary:

When I select scopes from API key graphQL API doesn't return me anything

Steps to reproduce:

1.create API key turn on "Enforce Scopes" and select scope for example "url:GET|/api/v1/courses/:id" 2.create graphQL query and call this "course(id: "courseId") {_id}"

Expected behavior:

Screen Shot 2021-06-03 at 18 39 37 Screen Shot 2021-06-03 at 18 40 14

Actual behavior:

Screen Shot 2021-06-03 at 18 42 16

Additional notes:

gor-gevorgyan avatar Jun 03 '21 14:06 gor-gevorgyan

I can confirm this behavior

https://community.canvaslms.com/t5/Canvas-Developers-Group/GraphQL-stopped-working-with-scoped-tokens/td-p/466824

japomani avatar Jun 03 '21 17:06 japomani

Any update on a fix for this?

japomani avatar Apr 29 '22 13:04 japomani