question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use SAML without loginPopup

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
aguecidacommented, Jun 15, 2020

We are currently using the loginPopupAutoClose option which can be set on the initCCP. In the documentation it states:

loginPopupAutoClose: Optional, defaults to false. Set to true in conjunction with the loginPopup parameter to automatically close the login Popup window once the authentication step has completed. If the login page opened in a new tab, this parameter will also auto-close that tab.

It would still be nice if we could get a way to authenticate the CCP without having to pop it in a new window.

3reactions
faizaanshahcommented, Jun 16, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Single sign-on (MSAL.js) - Microsoft Entra
Learn about building single sign-on experiences using the Microsoft Authentication Library for JavaScript (MSAL.js).
Read more >
2577263 - SAML2.0: How to disable SAML 2.0 authentication ...
SAML 2.0 authentication is enabled in an AS ABAP system, but for some ... fiori, launchpad, logon, login, popup , KBA , BC-SEC-LGN-SML...
Read more >
How to disable login popup when accessing to authorization ...
I'm setting up an authorization server that use Kerberos (SSO) to ... SSO works perfectly without asking me for username & password.
Read more >
After SAML login a new login popup when opening script editor
Call to api/hub/v0/user/info without the virtual proxy prefix. https://server.example/api/hub/v0/user/info 302 Authenticate at this location ...
Read more >
I want to customized UI of Login Pop up's, how I do that?
Search Customize UI of Login Pop up's feature in the Premium Option ... see your customized template. login-popup. Was this helpful? Yes No...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found