Add Allowed Authorization Redirect URIs

If you use a Wix-managed login page to authorize site members, Wix redirects members back to your site or app after the login process is completed. In order to protect data security, Wix only redirects members to addresses you allow in advance.

For authorization related redirects, you need to provide exact matching URIs.

Note: Non-authorization related redirects only require you to provide a domain, which allows redirects to all URLs under that domain. To set allowed redirect domains for non-authorization related redirects, see Allowed Redirect Domains.

To add allowed redirect URIs for authorization redirects:

  1. In your project dashboard go to Settings > Headless Settings.

  2. From Headless clients, click the three dots to the right of the OAuth app you want to edit. Choose Settings to open the app's settings page:

  3. Under URLs, go to the Allowed authorization redirect URIs section.

  4. Click Add Redirect URI and enter a precise URI you authorize Wix to redirect back to from Wix-managed authentication pages. For example, https://www.my-site.com/login-callback authorizes only this path and doesn't authorize other URIs under the same domain. To authorize multiple URIs for authorization redirects, click Add Redirect URI again as many times as you need.

  5. Click Save to save your changes and return to the main Headless Settings page.

Did this help?