-
Notifications
You must be signed in to change notification settings - Fork 112
Description
When inviting a new user to join a team using Keystatic Cloud, an email is sent with a link to join. This link has a from query param with some team code. Example:
https://keystatic.cloud/team/join/<some_token>This takes you to a page that says to sign in to join the team with the following link:
https://keystatic.cloud/signin?from=team%2Fjoin%<signup_token>Here, if the user doesn't have an account they can click the sign up link which redirects to here:
https://keystatic.cloud/signup?from=team%2Fjoin%<signup_token>Finally, if the use click "Password" to sign up with an email/password configuration, the page refreshes, clears the <signup_token>, and is redirected to:
https://keystatic.cloud/signup?with=passwordI'd expect that the from query param is maintained with the appended with param. Example:
https://keystatic.cloud/signup?with=password&from=team%2Fjoin%<signup_token>Adding the from param key and value back to the link allows the user to signup with association to the team and go directly into the verification process, which I assume is the happy path.