AnsweredAssumed Answered

accessing user_id from the lms

Question asked by Natalie Murray on Apr 26, 2016
Latest reply on May 31, 2016 by rogrant@nmsu.edu

Hi,

 

I have added an external tool in which I want to access the user_id of the student who is logged in. I need to have the oauth2 framework in place to use the APIs. I went through the docs and found this link.

OAuth2 - Canvas LMS REST API Documentation

 

my basic request looks like this

https://localhost:3000/login/oauth2/auth?client_id=10000000000001&response_type=code&redirect_uri=https://localhost:8000…

I have my canvas local running on localhost:3000 and my app running on localhost:8000

 

I don't see any popup which will have authorize and cancel buttons.

 

any clue guys...

 

Thanks in advance

Outcomes