Note: This redirect to the App URL is a back-end process only. 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). When 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. Note: You’ll need to set up OAuth, Permissions, and Webhooks settings in the Wix Developers Center. We use OAuth 2.0 to authorize you to access our APIs and receive webhooks. For example, make sure you don't send the header 'X-FRAME-OPTIONS' The OAuth Flow Make sure your content can be loaded on an iframe. In certain installation flows, Wix will load your app and redirect URLs in an iframe. Refresh tokens are valid as long as the app is installed on the user's site. Note: Access and refresh tokens are user-specific. Then you’ll pass the access token as an authorization header in the API call. You will then receive an authorization code which you will use to request an access token and a refresh token. When a site owner installs your app, they will grant you permission to collect their 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 |