GithubHelp home page GithubHelp logo

Comments (10)

jagadeeshaby avatar jagadeeshaby commented on June 14, 2024 14

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.

anthonywebb avatar anthonywebb commented on June 14, 2024 9

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.

snapshotleisure avatar snapshotleisure commented on June 14, 2024 2

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.

sromocki avatar sromocki commented on June 14, 2024 1

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.

sromocki avatar sromocki commented on June 14, 2024

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.

sromocki avatar sromocki commented on June 14, 2024

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.

ninjamike54 avatar ninjamike54 commented on June 14, 2024

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.

snapshotleisure avatar snapshotleisure commented on June 14, 2024

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.

alxx avatar alxx commented on June 14, 2024

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.

alxx avatar alxx commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.