Legacy Dev Forum Posts

 View Only

Sign Up

Unable to embbed framework

  • 1.  Unable to embbed framework

    Posted 06-05-2025 18:49

    Shaheen_Georgee | 2020-03-11 23:48:36 UTC | #1

    i'm trying to create a Private PureCloud Embeddable Framework integration

    already created the OAuth token and followed all the steps on the documentation/tutorial.

    i'm getting the following error Sorry, PureCloud cannot authenticate you at this time. We did not recognize your redirect url. in my production environment and Connection to the CRM System could not be established. in my local environment, any ideas?


    Becky_Powell | 2020-03-12 00:02:02 UTC | #2

    Shaheen, can you please share your redirect URL?


    Shaheen_Georgee | 2020-03-12 18:08:12 UTC | #3

    sure, under OAuth we currently have the following Re-direct URI

    http://apps.mypurecloud.com/crm/index.html https://apps.mypurecloud.com/crm/authWindow.html


    Shaheen_Georgee | 2020-03-12 18:08:45 UTC | #4

    also this one

    https://apps.mypurecloud.com/crm/embeddableFramework.html?dedicatedLoginWindow=true&enableFrameworkClientId=true&org=solara&provider=adfs


    Junji_Sawada | 2020-03-13 15:26:57 UTC | #5

    Hi Shaheen ,

    The embeddableFramework.html redirect URL in the Authorized Redirect URLs under OAuth does not need query parameters.

    "https://apps.mypurecloud.com/crm/embeddableFramework.html?dedicatedLoginWindow=true&enableFrameworkClientId=true&org=solara&provider=adfs"

    should be just

    "https://apps.mypurecloud.com/crm/embeddableFramework.html ."

    Could you try it to see if that resolves the issue?

    Junji


    Shaheen_Georgee | 2020-03-17 20:48:38 UTC | #6

    Hi Junji,

    i modiefied the URL by removing the query params, so the Redirect URI only contain the following:

    http://apps.mypurecloud.com/crm/index.html https://apps.mypurecloud.com/crm/authWindow.html https://apps.mypurecloud.com/crm/embeddableFramework.html

    and still getting the same issue.


    Junji_Sawada | 2020-03-17 21:24:43 UTC | #7

    Shaheen,

    Also, please use https (not http) protocol for https://apps.mypurecloud.com/crm/index.html.

    Junji


    Shaheen_Georgee | 2020-03-19 04:23:42 UTC | #8

    Hi Junji,

    modified the protocol to use https, now i'm getting the following error: Your Client ID is invalid or has expired looked thru the forum to see if anyone else had the same issue, some mentioned that was the authorization of the embeddable framework, already double checked that, also the clientID generated by the OAuth client is correct, any ideas?


    tim.smith | 2020-03-19 22:05:41 UTC | #9

    That error means the client ID you're using isn't valid for the particular request. That's often caused by the OAuth client being created in a different region than where the user is trying to authenticate or the OAuth client's grant type doesn't match what's being requested.


    Shaheen_Georgee | 2020-03-20 05:27:11 UTC | #10

    i already tried all of the clientIds keys that area provided in te documentation, including usw2.pure.cloud and getting the same error, i'm able to login "manually", if i click on the back to login link in to bottom of the iframe, also this is how my ifram URL looks https://apps.mypurecloud.com/crm/embeddableFramework.html?dedicatedLoginWindow=true&enableFrameworkClientId=true&org=solara&provider=adfs


    Junji_Sawada | 2020-04-14 16:46:11 UTC | #12

    Hi Shaheen,

    Were you able to figure it out? Do you get a different outcome if you try it without &org=solara&provider=adfs parameters in iframe URL?

    Junji


    system | 2020-05-14 16:46:12 UTC | #13

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


    This post was migrated from the old Developer Forum.

    ref: 7322