Embedded Framework Example

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': 'CLIENT_ID_HERE',
        },

I did the same in the example html



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?

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:

  1. If there's a typo in your client ID
  2. 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.
  3. The oauth client is of the correct grant type that's being used by the auth flow

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