- Newest
- Most votes
- Most comments
Hi There,
When your users log in using InitCCP with the loginPopup: true and loginPopupAutoClose: true settings, they expect a seamless experience without having to deal with multiple tabs. However, when your IAM Identity Center redirects them to the applications page after authentication, it currently opens the Amazon Connect Workspace in a new tab, along with your Custom CCP and the IAM Identity Center applications page, resulting in three tabs open during the login process.
To fix this issue, you'll need to adjust how the redirection after authentication is handled. One approach is to ensure that after users authenticate with your Identity Provider (IDP), they are redirected back to your custom CCP within the same tab or window where they initiated the login process.
You can achieve this by modifying the redirection behavior in your application code. Make sure that the redirect URL after successful authentication points back to your custom CCP URL. This way, users will remain within the same tab throughout the authentication process, maintaining a smoother experience without unnecessary tabs cluttering their interface.
Additionally, if you're using JavaScript to manage the login process, you can listen for the redirect event after authentication and programmatically handle the redirection within the same tab or window where your custom CCP is open. This will allow you to dynamically control the login flow and close any unnecessary tabs or windows that may have opened during the process.
Thanks.
Tab3 Amazon Connect Workspace will not close since you opened that manually and not part of the login process. If you want to get some of the Workspace features as part of your custom CCP, you should add them to your custom CCP instead of using Workspace
refer to this as an example: https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#initialization-for-ccp-customer-profiles-wisdom-and-customviews
Relevant content
- asked 2 years ago
- asked 9 months ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago