This article shares some possible use cases your app could support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your app's implementation.
You can create a frontend template, on an external platform, that takes advantage of business solutions on a Wix project.
For any external app or site to access a Wix project's data, it must be authorized in advance by creating an OAuth app. To enable project owners to connect a site or app built on your template to their existing Wix project data, follow these steps:
name
and optional description
that identify the client clearly. In the allowedDomains
array, provide the deployment domains from the previous step.id
securely.Whenever an external client redirects a user to Wix for authentication, the client provides a URL for Wix to redirect the user back to after authentication. To ensure security, Wix only redirects the user if the domain has been approved in advance in the OAuth app's settings. To update an external client's approved URLs, follow these steps:
oAuthApp.allowedDomains
body parameter, and pass ["allowedDomains"]
in the mask.paths
body parameter.