@Ardena thanks for you solution.. I was struggling regarding tool app activation issue but found nothing. when I clicked enable button, it throws unauthorize code error. but with your solution, tool app is activated and also launching.
Now I moved forward, and creating a webhook that will notify my tool whenever a new event fires.
{ … "service_offered": [{ "@id": "my.tool.com/service#vnd.Canvas.SubmissionEvent", "endpoint": "http://my.tool.com/subission_endpoint", "@type": "RestService", "format": ["application/json"], "action": ["POST"] }], … }
but I see there's no webhook called by canvas when student upload file. I also confirm by using this repo code which also subscribing webhook but it does seems to be work.
I assumed that the line you asked to comment out in app/models/lti/tool_proxy.rb:31 (after_save :manage_subscription) causing this issue. am I right?
if yes, then how I test it in my local setup canvas with docker.
Thanks for your time.
@Ardena thanks for you solution.. I was struggling regarding tool app activation issue but found nothing. when I clicked enable button, it throws unauthorize code error. but with your solution, tool app is activated and also launching.
Now I moved forward, and creating a webhook that will notify my tool whenever a new event fires.
{ … "service_offered": [{ "@id": "my.tool.com/service#vnd.Canvas.SubmissionEvent", "endpoint": "http://my.tool.com/subission_endpoint", "@type": "RestService", "format": ["application/json"], "action": ["POST"] }], … }but I see there's no webhook called by canvas when student upload file. I also confirm by using this repo code which also subscribing webhook but it does seems to be work.
I assumed that the line you asked to comment out in app/models/lti/tool_proxy.rb:31 (after_save :manage_subscription) causing this issue. am I right?
if yes, then how I test it in my local setup canvas with docker.
Thanks for your time.