Version
v2.5.0
Steps to reproduce the bug
-
Send OPTIONS request to activities state (ex
http://localhost:3000/data/xAPI/activities/state?stateId=resume&activityId=http%3A%2F%2F6RqRmZwBzUE_course_id&agent=%7B%22objectType%22%3A%22Agent%22%2C%22mbox%22%3A%22mailto%3Afirstlast%40mycompany.com%22%2C%22name%22%3A%22First%20Last%22%7D)
-
Course failing to start due to missing Access-Control-Allow headers in response
Expected behaviour
Match the cloud.scorm headers

Actual behaviour

Additional information
The articulate tin can course makes this options request to the LRS. However due to the LRS not telling the course what methods, headers or origins it accepts it can't start.
I have seen this issue and tried to follow along but it seems like all the information is for v1 of this project and no longer relevant.
Version
v2.5.0
Steps to reproduce the bug
Send OPTIONS request to activities state (ex
http://localhost:3000/data/xAPI/activities/state?stateId=resume&activityId=http%3A%2F%2F6RqRmZwBzUE_course_id&agent=%7B%22objectType%22%3A%22Agent%22%2C%22mbox%22%3A%22mailto%3Afirstlast%40mycompany.com%22%2C%22name%22%3A%22First%20Last%22%7D)
Course failing to start due to missing Access-Control-Allow headers in response
Expected behaviour

Match the cloud.scorm headers
Actual behaviour

Additional information
The articulate tin can course makes this options request to the LRS. However due to the LRS not telling the course what methods, headers or origins it accepts it can't start.
I have seen this issue and tried to follow along but it seems like all the information is for v1 of this project and no longer relevant.