In the documentation for public deployment of the embedded framework, it says that a clientId needs to be added to the framework.js file.
This clientId is going to be coming from an oauth client with type Implicit Grant. The oauth client is configured in our purecloud org for testing.
The part I am not clear on is, once the framework is released and deployed, is the clientId going to be coming from the customer's org (whoever is installing) ?
Does that mean the customer needs to create their own oauth client and use that ?
How are the customers going to update the clientId to use their own oauth client ?
For publicly deployed framework files the client id comes from the developer's org. Implicit grant clients are global in nature, and the redirect URLs are going to be specific to the developer's app that was created so they're the ones in a position to update the client with the appropriate URLs.
For the public deployments, yes. It's also required for private deployments that access the auth token. That's why it's listed as an attribute in the config.