introlab/opentera-webportal-service

Redirection to Moodle not working properly on Safari

SBriere opened this issue · 1 comments

Redirection to Moodle with an access token isn't properly working on Safari, showing the Moodle login page instead.

This is due to a "feature" in Safari in which iFrame can't set cookies for other sites.
A temporary workaround is to "Enable multidomains cookies" in Safari preferences.
This issue will resolve itself if (when) Moodle is hosted on the same site as the portal.
Otherwise, a user prompt might be required to allow storage access (to be implemented, requiring some refactoring).