Login Window Issue with Amazon Connect Streams

1

Hi,

I am new to Amazon Connect and I have build my own Amazon Connect Streams using the instructions and code present on the GitHub. Following are the links:-

GitHub Code: https://github.com/amazon-connect/amazon-connect-streams

GitHub Documentation: https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md

Right now, I am facing the Login Window Issue.

While using Chrome, whenever I try to access the Amazon Connect Stream URL of my application, it gives an error, and at the same time, it opens a popup Login Window for Amazon Connect.

While using Firefox, whenever I try to access the Amazon Connect Stream URL of my application, it displays an error message and a button saying "Open Site in New Window". When I click on the button, the Amazon Connect Login page is opened in new tab.

Basically, in both cases, the user has to login to Amazon Connect Dashboard, so that he/she can access the Streams URL.

Is there any way, where the user would require to login to Amazon Connect Dashboard to access the Streams URL?

Please help!

已提问 2 年前1192 查看次数
1 回答
0

Make sure in your initCCP options, you enabled loginPopup: true and loginPopupAutoClose: true

Assuming you have both of those, add

window.localStorage.removeItem('connectPopupManager::connect::loginPopup');

after your instanceURL declaration and before your function initialization, and make sure popups are enabled in your browser. The expected behavior is that initially you'll see the "refused to display" error, but it will then pop-up to your login provider, and after login, the pop-up window will close, and CCP will display.

AWS
gthomas
已回答 2 年前
  • Thank You so much for replying.

    The kind of behavior I am expecting that there should be no Login Popup Window at all.

    When the user enters the URL in the browser, the login page must be displayed first.

    After that, when the user enters the credentials, then the CCP window must be displayed.

    In order to access the Amazon Connect CCP (Contact Control panel), the user must not be required to login to the Amazon Connect Dashboard.

  • You could accomplish something like this utilizing SSO, but the above steps would still be required in order to allow assertions to be passed to CCP to authorize the user. The x-frame-options SAMEORIGIN header blocks the authorization process from occurring within an iframe. In the event that the user is already logged in, the login window will pop up and use the existing session, then close the pop-up and proceed with loading the streams-based CCP

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则