How to implement custom redirect to subdomain after Memberstack authentication when default redirects don't support it?

Post author
Théo Roland

Hi everyone!

Is it possible to have a signup/login form on a site (site.com) and to redirect after signup/login on a subdomain site (app.site.com) ?
Example : site.com/signup -> app.site.com/welcome

The plans redirect options only allows same domain redirects…
Cross-domain login is working but I want to change the redirect option.

Comments

1 comment

  • Comment author
    A J

    Hey Théo Roland, as per the docs it's not currently possible to set domain-specific redirects for such cases. As a workaround, you might opt to set the redirect to a blank page after signup / login and have a simple script on that page that when users land on it, they get redirected to the subdomain page. Hope this helps.

    0

Please sign in to leave a comment.