Send magic link with redirection for password change

Sorry, it does not acually redirect them to change their password, I was incorrect. However, when they do go to change their password it does not require a previous password to do so when they come from the magic link.

I hope this helps you!

1 Like

Hi @flavi. You have to create user groups and set page rules such that users who are logging in via a magic link are automatically directed to the page you want them to initially land on (ex. page with User Profile block).

Hi @bethseam. Softr’s solution for this scenario is incomplete.

The User Profile block functionality you mentioned technically works, but the user journey is confusing when a new user lands on a User Profile block that asks for their old password. New users have never entered a password before. In fact, Softr’s docs say that once the user enters the app from a magic link, they can change their password. There’s no mention of how or what that journey or configuration looks like.

After I asked Softr, they offered the following code to remove the old password field, however as of yesterday the New Password button on it wasn’t working and also didn’t work after I updated the block. How are new users supposed to log in again without a password?

Until Softr adds more customization to the User Profile block or creates ‘New User’ account blocks that create a password, I’m afraid there is no good, let alone secure way to onboard new users. If Softr has a solution, rather than workarounds for this, I’m all ears.

Regarding your question about redirecting users to update their password after receiving a magic link, you might want to consider the following approach:
Once the user clicks on the magic link and is authenticated, redirect them to a password reset page on your platform.
On this password reset page, prompt the user to enter a new password.
After the user submits the new password, update the password in your database and redirect them to the desired destination, such as the dashboard or homepage.
As for creating a seamless password reset experience, you might also want to explore using an online password generator to encourage users to create strong and secure passwords. There are websites that offer easy-to-use tools for generating complex passwords tailored to your requirements.

1 Like