AnsweredAssumed Answered

canvas lms api issue

Question asked by ramesh on Nov 23, 2016
Latest reply on Dec 21, 2016 by

I am currently doing some work with the Canvas LMS REST API and facing  an issue when trying to login with patner admin account.

GET https://<canvas-install-url>/login/oauth2/auth?client_id=XXX&response_type=code&redirect_uri=

I have used above api for login but i am failing for admin account.Because

POST /login/oauth2/token

While calling above API its giving 400 issue.

As per my application logs --

It is working fine for teachers and students account.

But if i try to login with admin account it is calling redirect url twice( So same authentication code coming for two calls. So second time getting failed.


Let me know if there is anything I can do to help clarify things. Thanks for your help!!