Matthew_DeGraffenrei | 2022-07-21 17:06:58 UTC | #1
Hello,
I'm trying to run the Embedded Frameworks example from github.
I made a modification to the framework JS for my region.
window.Framework = { config: { name:"ExampleGitHubApp", clientIds: { 'apps.usw2.pure.cloud': 'CLIENTIDHERE', },
I did the same in the example html <div class="softphone"> <iframe id="softphone" allow="camera *; microphone *" src="https://apps.usw2.pure.cloud/crm/index.html?crm=framework-local-secure"></iframe> </div>
And I created a token with a redirect to http://apps.usw2.pure.cloud/crm/index.html
When I visit my application this is what I see
Any advice on what I am doing wrong?
tim.smith | 2022-07-21 17:52:33 UTC | #2
MatthewDeGraffenrei, post:1, topic:15627
`'apps.usw2.pure.cloud': 'CLIENTID_HERE',`
Dumb question, but you did replace CLIENT_ID_HERE with your own client ID, right?
That error message will be caused by the client ID not existing in that region. Here are some things to check:
- If there's a typo in your client ID
- That the login screen is actually going to the region you think it is (check the network console to see the hostnames it's requesting). Auth code and implicit clients are cross-region, other types are not.
- The oauth client is of the correct grant type that's being used by the auth flow
system | 2022-08-21 17:53:18 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: 15627