Add Allowed Authorization Redirect URIs

Share your feedback
Reach out to us with feedback and suggestions to improve the Wix Headless experience, and join the Headless channel of the Devs on Wix Discord community to discuss features and connect with our growing community of developers.

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.

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. Open your project dashboard and click Settings in the left sidebar menu.

  2. Scroll down to the Advanced section and click Headless Settings.

  3. Go to your OAuth app's settings.

  4. Scroll down to the URLs section and go to the Allowed authorization redirect URIs section.

  5. 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.

Was this helpful?
Yes
No