How to implement language-based SSO redirects for Webflow Locales with multilingual verification pages?

Post author
Teresa K.

Need the ability to use translations for the SSO login screen - including login and authorize.

Comments

2 comments

  • Comment author
    Olivier Nachin

    Hi everyone! 👋

    I need some advice on how to implement language-specific redirects for my users.

    Here's the situation: my website, built with Webflow Locales, is available in three languages: English, French, and Spanish. Currently, when a user signs up, they are redirected to a verification page that is in French by default.

    What I'd like to achieve is to redirect users to a email verification page in their respective language — English users to the English page, Spanish users to the Spanish page, and French users to the French page.

    Any suggestions on the best way to set this up?

    Here is a screen capture of the email verification page in French :

    0
  • Comment author
    Raquel Lopez

    Hi Olivier,

    In the frontend, (in a webflow page), you need to set up a script that intercepts when the user has signed up, and to handle the logic so it redirects to the correct page.

    You can redirect all your recently signedup users to a blank page that contains a script and from there they will redirect. It will look like an extra second of loading for the user.

    Recently I covered a similar solution in this thread https://memberstack.slack.com/archives/C033F0SLTLK/p1727122409496299

    You can tweak the script a little bit with the help of Rey, Memberstack AI. Let me know how it goes, or if you still need help

    Memberstack has this memberscript for a different scenario, but the solution is the same, handle the redirect logic depending on some conditions.
    https://www.memberstack.com/scripts/checkout-after-login

    0

Please sign in to leave a comment.