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:
Open your project dashboard and click Settings in the left sidebar menu.
Scroll down to the Advanced section and click Headless Settings.
Go to your OAuth app's settings.
Scroll down to the URLs section and go to the Allowed authorization redirect URIs section.
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.