Access an assignment without the login prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2021
06:48 PM
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?