Implementing "Remember Me"
The "Remember Me" functionality can reduce friction in the sign-in flow, by remembering the user that previously signed in. Instead of the user needing to remember which authentication method they used for your application, you can now adjust your flows to suggest which method they used most recently.
To implement this in your flow, simply add a condition at the beginning, checking if lastAuth.loginId
is not empty:
If lastAuth.loginId
is not empty - add a screen that will show the user the remembered name and have a button to sign in:
For the "Sign In" button, create a condition for the remembered authentication method using lastAuth.authMethod
:
Then, connect all the conditions to the relevant authentication methods in the Flow Editor.
This is how it will look like:
Last authentication - name
The key lastAuth.name
can be used inside a flow condition to display an informative message to the end user,
relatively, when he returns to your log-in page.
This key has a failover mechanism in case one of the user's fields that populate it contains no data.
- Display Name
- Login ID
- Phone