Unable to embbed framework

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?

Shaheen, can you please share your redirect URL?

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

also this one

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

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

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.

Shaheen,

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

Junji

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?

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.

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

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

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