Question:
Hi everyone,
I’m working on a mobile app that wraps my Wix Studio website in a WebView. Since Google sign-in isn’t allowed in embedded browsers, I plan to open the login flow in a Chrome Custom Tab. I want to change the OAuth redirect URL to a deep link (e.g., myapp://callback
) so that after a successful login, users are automatically redirected back to my app. Is it possible to configure Wix to use a deep link as the OAuth redirect URI, and if so, how can I set it up?
Product:
Wix Studio Editor
What are you trying to achieve:
I’m aiming to create a smooth and secure authentication flow for my mobile app. Specifically, I need to:
- Open the Google sign-in page in a Chrome Custom Tab from my Wix site.
- Use a deep link (custom URL scheme) as the redirect URI so that once the user logs in, they are sent back to the app automatically.
- Integrate this flow with Wix’s login system using Velo if needed.
What have you already tried:
- I’ve explored Wix Studio and Velo documentation, but I couldn’t find clear instructions on setting a deep link as the OAuth redirect URI within Wix.
- Additionally, I haven’t been able to locate where the default OAuth tokens are set or provided in Wix. The documentation doesn’t seem to cover this, and the process appears to be handled “magically” in the background. Any insights on this would also be appreciated.