Configure App Widget
After you've created a new app widget, you will need to configure the OAuth settings in order for the widget to obtain the necessary permissions from the user. Follow these steps below.
- Navigate to 'Your apps' from the developer dashboard
- Select the app to set up
- Review the Overview tab for correctness
- Add an avatar and logomark.
- Review Permissions
- This is the list of individual scopes that will be requested for the user to approve.
- Rather than list each scope individually for the user to approve, any scopes that are selected on this page will be grouped under the top level header, and the individual header will be presented to the user. If a scope is left unchecked, it will also be omitted from what the user ultimately approves.
- Some scopes that are required for the particular widget type you are configuring to be able to run will be gathered at the bottom of this tab. The user will be unable to unselect these specific scopes.
- Provide the following settings under OAuth:
- Origin - The domain name that will be hosting the widget, for example google.com or mysite.com.
- Redirect URIs - A public URL that our authorization server can redirect to for the OAuth authorization code flow. Do not include any query parameters in this URL. You can include any number of these URIs. If you use the OAuth flow to generate an authorization code, you must use the same callback URI for the exchange of the code.
- Webhook URLs - A public REST endpoint to receive widget related events from Fluz.
- You can add as many webhook URLs as you would like, and you can subscribe the individual URLs to specific webhook events. If you provide a URL without any webhook events selected, then it will be treated as a "catch-all" URL and all webhook events will be sent to that URL.
- Review the 'Installation' section. This will include the generated Javascript code for your widget. You can copy and embed this Javascript code into your web application to host the widget.
Updated about 1 month ago
