-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when using iframe loader, setting parentOrigin is not work #693
Comments
Hi apologies for the delayed response, I'm looking into this and the root cause. |
Any updates with this? It looks like it does not matter what you are going to set exactly for origin on you client: ` <script>
For example above - parentOrigin will not work unless you change it in S3 bucket. Meanwhile toolbarTitle will overwrite value located in S3 Bucket |
Hey, I will look at this today. My assumption is that something is wrong with the configuration merge that happens on load but will need to test out everything. This is not a part of the code I've had much exposure to |
For this specific use case, we are intentionally blocking accepting dynamic parent origins because of the potential security risks. You can see the code that handles this here: See the code starting on line 310 here: https://github.com/aws-samples/aws-lex-web-ui/blob/master/lex-web-ui/src/store/mutations.js |
iframe loader, I used chatbotUiconfig and set shouldLoadConfigFromJsonFile false, there are some questions
1.still load config.json
2.parentOrigin is not work, and there is an error chatbot UI failed to load
The text was updated successfully, but these errors were encountered: