How to use SAML without loginPopup
See original GitHub issueI have gone through all the issues related to SAML but did not find an answer. I have properly set up SAML for amazon connect and it works fine. Now my scenario is the following: Users log in to my web app using the identity provider, once they log in to the web app I have a screen in the web app which the users can go to access the amazon connect CCP. But when the users go to that page the amazon connect CCP is not yet authenticated so it still needs to open a popup for login which will not ask the user for user name and password as they have already logged into the Idp but having that popup open is not really a good experience. I know that there is an option to disable the popup but if you disable the popup then how do you authenticate amazon connect. It seems like that should be pretty easy to do but I can’t seem to find a way to do this.
I want to initialize the CCP as shown below with loginPopup set to false but if the login Popup does not open then how does CCP get authenticated and with loginPopup: false
what is the use of loginUrl
parameter?
connect.core.initCCP(containerDiv, {
ccpUrl: instanceURL, // REQUIRED
loginPopup: false, // optional, defaults to `true`
loginUrl: samlLoginURL,
softphone: { // optional
allowFramedSoftphone: true, // optional
disableRingtone: false, // optional
ringtoneUrl: "./ringtone.mp3" // optional
}
});
So, in short, my question is how to use loginPopup: false
and still get the user signed in using the SAML?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (4 by maintainers)
We are currently using the
loginPopupAutoClose
option which can be set on theinitCCP
. In the documentation it states:It would still be nice if we could get a way to authenticate the CCP without having to pop it in a new window.
I have the same Issue, I get authenticated by my Idp via a custom sign in page embedded in our application, but cant get authenticated by amazon connect unless CCP opens, which seems like an unnecessary thing to show to customers.
Problem: I have to open the SSO link to open CCP for a short span to get our custom dashboard authenticated by connect.
Solution we want: User should get authenticated by amazon connect without opening CCP, or if its necessary to open this link server should respond some Statuscodes but not the CCP to be opened.