Comments (10)
Please feel free to reopen if the issue persists.
More details can be found here - https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instance.html#app-integration
from amazon-connect-streams.
Why allow loginPopup to be set to false if it literally does not work due to this cross domain issues.... SMH... Cmon, fix it or remove it, but dont waste the developers time trying to debug it.
from amazon-connect-streams.
Hi, actually im having an issue similar to above, I have added my development domain to the whitelist, "https://localhost:4200". however the iframe won't load the Login Page (loginPopup:false), i get the X-Frame-Options error.
If I set loginPopup: true, and login using the new tab, it works fine. Is there a reason why the connect/cpp# url is not working with the whitelist? Is it something i'm missing? any help will be greatly appreciated.
Thanks
from amazon-connect-streams.
Also, as a crappy workaround, you can use this chrome extension https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe?hl=en-US
from amazon-connect-streams.
You can try to increase the load timeout. I got mine at ccpLoadTimeout: 25000.
Also, have you whitelisted your development hostname in whatever instance your working with.
from amazon-connect-streams.
Also, I use Amazon's login page in an iFrame and don't use the loginPopup since I think it's better for my users. Maybe you desire the same functionality. "loginPopup: false"
from amazon-connect-streams.
If you're seeing X-Frame-Options errors, the solution depends on what page in particular is throwing errors:
If the page is *.awsapps.com/connect/ccp, you'll need to whitelist your domain (see https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-instance.html#app-integration for details on how to do this)
If the page is *.awsapps/connect/login, this means that you aren't yet signed in (we don't support framing any page other than the CCP, including the login page), signing in with the login popup should fix the issue, since the integration automatically refreshes the frame.
from amazon-connect-streams.
I got stung by this for a while, make sure your origin url is https if its not. Just something to double check
from amazon-connect-streams.
I'm using https, correctly provisioned in the Connect instance, I've tried both URLs (with /ccp and with /login), I've tried authenticating in the separate CCP, and nothing works. Whatever I do, I get "Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin'".
I understand that the iframe method is supposed to be phased out, but the latest version of the JS library still creates it.
Any suggestions?
from amazon-connect-streams.
After much googling I've found the problem: the correct URL should end in "/ccp#" with the pound making all the difference.
Why this isn't documented clearly, in bold red characters, is beyond me. I've been using the "/login" URL because that's the one I see in the Connect dashboard.
from amazon-connect-streams.
Related Issues (20)
- [issue] Popping up the Amazon Connect login screen in the connect.core.initCCP() function HOT 3
- Warnings popup when running 3rd party applicaiton locally
- [Question] CCP for device settings HOT 1
- [Errors] When a supervisor is monitoring a call with multi party enabled, if an agent tries to swap or transfer to a quick connect, it fails HOT 4
- contact.onRejected is not available HOT 1
- Feature Request: use setEchoLevel and setLogLevel at the top level to change CCP logs HOT 2
- Agent mute button is stuck and wrongly showing unmute agent when agent is in a conference and silently monitored by a supervisor HOT 3
- Request to add Contact.getChannelContext to index.d.ts HOT 1
- WebRTC - Failing to join video session - AudioJoinedFromAnotherDevice HOT 2
- OnRefresh is invoked after a contact has ended showing both the initial and third party connections as active HOT 6
- ccp cannot initialized when disabled the third party cookie
- Unable to Login with amazon connect Streams (Periority High) HOT 4
- Pop-up warning message when an agent ON CALL attempts to logout HOT 3
- how to send and receive email in Amazon connect HOT 1
- Amazon connect Task flow stopped working HOT 1
- amazon instance integrate with SAML popup window can not close HOT 1
- connect.BaseConnection.getEndpoint() does not provide proper details of endpoint HOT 1
- onEnded no disconnectReason provided HOT 1
- Initialization Failed
- Auto Login & Login pop screen freezes with Amazon connect streams
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-connect-streams.