Legacy Dev Forum Posts

 View Only

Sign Up

Embedded Framework Localhost testing

  • 1.  Embedded Framework Localhost testing

    Posted 06-05-2025 18:49

    Shane_Jenkins | 2020-07-17 17:20:07 UTC | #1

    Hello,

    So we are just starting out with looking at the embedded framework. Our plan is to eventually embed the client within ServiceNow. At first we want to test the example code found on Github using localhost.

    Our question is this, our PureCloud instance lives on https://apps.usw2.pure.cloud/

    With that said, should our URL for the Embedded framework be something like: https://apps.usw2.pure.cloud/crm/index.html?crm=framework-local-secure

    or should it be: https://apps.mypurecloud.com/crm/index.html?crm=framework-local-secure

    Hope this makes some sense as we're just getting started and little confused by which URL we need to be using and if it matters where our PureCloud Org is housed.

    Thanks all, Shane


    Shane_Jenkins | 2020-07-17 20:28:45 UTC | #2

    We figured this out. Since our PureCloud org is in USW2, we had to use the following:

    For OAuth Redirect URI, we used https://apps.usw2.pure.cloud/crm/index.html

    When loading our iframe, we also pointed to the following: https://apps.usw2.pure.cloud/crm/index.html?crm=framework-local-secure

    At that point, we could load the example successfully and authenticate.

    Our next step is to attempt loading this in the ServiceNow application, then we'll begin customizing.

    We got a little confused at Step 8 of the following help article as it only mentions using https://apps.mypurecloud.com and not other regions/URLs:

    https://help.mypurecloud.com/articles/create-an-oauth-client/

    Maybe this will help others as well. Have a great weekend!

    Thanks all, Shane


    system | 2020-08-17 20:28:46 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 8323