We are login to generate access token for user in canvas using oauth flow but somehow not able get the success .
we have create developer API key - Id - we are using as client_id
show key value - we are using as secret key
https://mylearnerjourney.instructure.com/login/oauth2/auth?client_id=220030000000000115&redirect_uri=https://mylearnerjourney.instructure.com/auth&response_type=code
What will redirect_uri for canvas and how will generate the token?
https://mylearnerjourney.instructure.com/login/oauth2/auth?error=invalid_scope&error_description=A+requested+scope+is+invalid%2C+unknown%2C+malformed%2C+or+exceeds+the+scope+granted+by+the+resource+owner.+The+following+scopes+were+requested%2C+but+not+granted%3A+url%3AGET%7C%2Fapi%2Fv1%2F%2A
getting this error.
https://canvas.instructure.com/login/oauth2/auth?client_id=220030000000000115&response_type=code&scope=url:GET|/api/v1/*&redirect_uri=https://mylearnerjourney.instructure.com/login/oauth2/auth
I am creating my first test LTI. I created the LTI developer key in Canvas in root account and enabled 1 of the LTI Advantage Services, i.e. Can retrieve user data associated with the context the tool is installed in. Installed the LTI in a test course in a subaccount of the root account. The OIDC worked correctly, but in the OAuth2 flow, using a request without scope like this
https:///login/oauth2/auth?client_id=XXX&response_type=code&state=YYY&redirect_uri=https://example.com/oauth2response
I got invalid_scope error. I have tried sending in a scope=openid and still the same invalid scope error. I have also tried disabling any services in the LTI developer key, and enabling all the services, all returning invalid_scope. I have been working on this off and on for months 😓but couldn't get pass this nasty "invalid scope". Could someone please help? Any insights or any pointers are deeply appreciated!
Canvas Data Services sent out an alert that a course was concluded (because the course was concluded) and the status of each user in the UI is set to complete, however, the enrollments API endpoint shows the status of each user in the course as active. Is this a common issue? Have I misinterpreted how the individual…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…
UI for weekly progression idea that rest in the Schedule tab of the **K-12 UI** of Canvas it's incomplete and I really would not take it and push it into instance but I am going to post it here because in the past people like @James && @robotcars || @Steve_25 have had terrific input in the past... maybe w/their eyes and…
I have a new React + Flask webapp. It has its own login for users to start using the app. I have added this as an external tool in Canvas. What I want initially is to see of canvas users can start using the webapp without having to login if they click on the external tool link in a canvas course. I have 2 methods…