LTI 1.3 Canvas Authorization URL Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am currently creating a custom LTI 1.3 tool but facing problems while configuring it with canvas.
The authorization process fails when the request is to redirected to the authorization login URL of canvas which is the following for all cloud-hosted instances:
https://canvas.instructure.com/api/lti/authorize_redirect
When I use this URL, I get the error:
"status":"bad_request","message":"Invalid lti_message_hint"
I have verified that the lti_message_hint is the same when returned by the tool but this error fails to go away. I don't understand what I am doing wrong.
Our canvas instance is hosted by webhostingzone. I have also tried sending the request to the following our personal domain URL:
If I use this URL then I get the error:
{"message":"An error occurred.","error_code":"internal_server_error"}
The JSON configuration in this case is:
{
"https://canvas.instructure.com": {
"default": true,
"client_id": "10000000000xxx",
"auth_login_url": "https://learn.acehsc.com.au/api/lti/authorize_redirect",
"auth_token_url": "https://learn.acehsc.com.au/login/oauth2/token",
"key_set_url": "https://canvas.instructure.com/api/lti/security/jwks",
"key_set": null,
"private_key_file": "private.key",
"public_key_file": "public.key",
"deployment_ids": ["6:48a8d8c493e8d2aa9ce833888b4721865af0xxx"]
}
}
I don't understand what I am doing wrong and any help would be greatly appreciated, I have read each and every question on this forum multiple times and tried different combinations of the settings but nothing seems to be working.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.