Embedded Framework OAuth Incorrect Region

We are using code similar to the below. apps.usw2.pure.cloud matches our region/login URL redirect that we are trying to hit and we have subbed in the correct client ID that we created (implicit grant) in our Genesys instance but when we run it, it is trying to connect to MyPurecloud.com (as seen when inspecting the popup page that is throwing the error). This generates the "ClientID is invalid or has expired" error for the end user. Any assistance is appreciated! Thanks!

window.Framework = {
config: {
name:"ExampleGitHubApp",
clientIds: {
'apps.usw2.pure.cloud': 'CLIENT_ID_HERE',
},

Hello,

I think the correct name for your region should be 'usw2.pure.cloud' as listed on the DevCenter for the clientId parameter description.

Regards,

I have tried that one too (in fact I have tried all of the ones below) and they all still come across as mypurecloud.com but I don't know why.

    "cac1.pure.cloud": "<your OAuth Client ID>",
    "mypurecloud.com": "<your OAuth Client ID>",
    "usw2.pure.cloud": "<your OAuth Client ID>",
    "apne2.pure.cloud": "<your OAuth Client ID>",
    "mypurecloud.com.au": "<your OAuth Client ID>",
    "mypurecloud.jp": "<your OAuth Client ID>",
    "mypurecloud.ie": "<your OAuth Client ID>",
    "mypurecloud.de": "<your OAuth Client ID>",
    "euw2.pure.cloud": "<your OAuth Client ID>"

You also need to use a localized/regional url for the url to the embeddable framework.
I mean that the IFrame URL for development stage would have to be like the following to point to US West region: https://apps.usw2.pure.cloud/crm/index.html?crm=framework-local-secure

Regards,

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