AnsweredAssumed Answered

401 Forbidden

Question asked by Natalie Murillo on Jul 4, 2017
Latest reply on Jul 12, 2017 by Natalie Murillo

Hello, I new to the Canvas API, I am eventually planning to use Swift and iOS but all CanvasKit documentation is in Objective C so I will try and simulate requests instead. Here I just want to log a user in using: 

 

GET https://<canvas-install-url>/login/oauth2/auth?client_id=XXX&response_type=code&redirect_uri=https://example.com/oauth_complete&state=YYY

 

I may be restricted access, for client_id I am using the access token that can be manually generated. Am I going about this the wrong way? If so how can I start making API calls and logging in a user?

 

image

Outcomes