Access an assignment without the login prompt

ppoirier
Community Member

My app needs to be able to view an assignment page - I request it like so by querying the html_url field of the assignment object:

GET /courses/<course id>/assignments/<assignment id> HTTP/1.1

Authorization: Bearer 7~wWREGjPjZnw...

But instead of getting the assignment I get redirected to the login page, after which it goes to the assignment.  Does the API ignore the auth token when getting assignments?

0 Likes