Login Window Issue with Amazon Connect Streams
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!
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.
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
Relevant questions
Why i am getting CustomerEndpoint.Address as "anonymous" in amazon connect?
asked a month agoHow to get Call Status(Connected, Busy, No answered & Ringing) from Amazon Connect Streams API?
asked 2 months agoUse Customerdisplay name in amazon connect contact flow
asked 2 months agoError using the AWS Connect Streams API to create an outbound call leg for initiating a transfer: "QuotaExceededException: Cannot dial third party destination: The agent is at maximum capacity."
asked 2 months agoDetecting multiple instances of the AWS Softphone across tabs using connect streams API
asked a month agoAre there any callbacks if the agent has not logged in into CCP in Amazon Connect Streams
asked 3 months agoSpecify outbound caller ID using Connect Streams?
asked 3 months agoConnecting Amazon Connect with Salesforce
asked 6 months agoLogin Window Issue with Amazon Connect Streams
asked 2 months agoChanging the UI of the Amazon Connect Streams CCP
asked 2 months ago
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.