![]() Important:If the user installs your app from your own platform, skip this step and go straight to step 2.Step 2: App Sends Users to Authorize the AppYour app should redirect users to the URL below so that we can ask them to approve a list of permissions your app is requesting (based on the you added in the Wix Developers Center).Redirect users to the following URL: the following query parameters with the URL above. The user shouldn't have to log in or sign up here - send them straight to the authorization request step described next. We include a token query parameter when we direct users to your App URL (we use it to keep track of the user as they go through the OAuth flow).Note: This redirect to the App URL is a back-end process only. ![]() The OAuth FlowWe use to authorize you to access our APIs and receive webhooks.Note: You’ll need to in the Wix Developers Center.Step 1 ( Optional): User Installs Your AppIf the user chooses to install your app from within the Wix App Market, we redirect users to the App URL you defined in the Wix Developers Center. Then you’ll pass the access token as an authorization header in the API call. You will receive an authorization code which you will use to request an access token and a refresh token. ![]() AuthenticationWhen a site owner installs your app, they will grant you permission to collect site data during the installation flow, which is based on the settings you provide in the Wix Developers Center. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |