Genesys Cloud - Developer Community!

 View Only

Sign Up

Issue with authorization within Interaction Widget

  • 1.  Issue with authorization within Interaction Widget

    Posted 05-27-2025 09:01

    We have integrated our UI application into Genesys Cloud UI using the Interaction Widget, as mentioned in Genesys UI Integration Guide - https://developer.genesys.cloud/platform/integrations/ui-integration-guide/module-1-embedd-web-app
     
    To be able to use the Genesys Platform SDK from our UI application, we are using an OAuth client with Implicit Grant, as mentioned in Genesys Authorization Guide. - https://developer.genesys.cloud/platform/integrations/ui-integration-guide/module-2-authorization#obtain-an-oauth-client--configure-the-script--and-authorize
     
    However, we are getting a `Refused to display 'https://login.microsoftonline.com/' in a frame because it set 'X-Frame-Options' = 'deny'` error during the authorization process using the OAuth client that we've created for our UI application. Basically, the Microsoft login screen is not allowed to be injected into an iframe.
     
    According to this doc: Client Apps Documentation we already set the `usePopupAuth` parameter to true. - https://developer.genesys.cloud/platform/integrations/client-apps/
     
    We have also tried setting the `dedicatedLoginWindow` parameter to true as mentioned here: Embeddable Framework Settings - https://developer.genesys.cloud/platform/embeddable-framework/configMethods/settings. And we added the Authorized URL to our OAuth Client: `https://apps.mypurecloud.com/crm/authWindow.html` under the Authorized Redirect URIs section, as mentioned in this guide: Embed Framework SSO Issue. - https://developer.genesys.cloud/forum/t/embed-framework-sso-iframe-x-frame-options-to-deny/15897/2
     
    But it doesn't work as expected as we understood it based on the available documentation from Genesys, and the issue persists.
     
    What could we be doing wrong?
    Thanks.

    #Integrations

    ------------------------------
    Corey Blosser
    Wolters Kluwer
    ------------------------------