allow-same-origin flag in your iframes for custom widgets?
Akshay.R.9045
Posts: 2 🔍
I want to create a custom widget where in I add a script for a third party js widget so it would render in my course home page.
But currently i'm getting an error as follows:
`DOMException: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag.`
`cannot set user information DOMException: Failed to read the 'localStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag.`
Is there any work around? Would you add the required flags to your iframe for custom widgets or can I get on a call with your support team to resolve this issue?
But currently i'm getting an error as follows:
`DOMException: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag.`
`cannot set user information DOMException: Failed to read the 'localStorage' property from 'Window': The document is sandboxed and lacks the 'allow-same-origin' flag.`
Is there any work around? Would you add the required flags to your iframe for custom widgets or can I get on a call with your support team to resolve this issue?
Tagged:
Answers
-
Hello @Akshay.R.9045
Thank you for contacting D2L through the Brightspace Community. I suggest opening a support case if you haven't already done so. Alternatively, please let us know, and so we can create one for you. As Further investigation is needed to determine whether this can be achieved.
If you have any questions or concerns, feel free to reach out.
Best regards,
Mohit Bhargav