I am currently doing some work with the Canvas LMS REST API and facing an issue when trying to login with patner admin account.
I have used above api for login but i am failing for admin account.Because
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(https://example.com/oauth_complete&state=YYY). 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!!