Is your feature request related to a problem? Please describe.
It would be great to have the ability to navigate between cards programmatically, using my own logic instead of the standard flow, here there is one use-case:
User is forced to change password or password has expired: currently i can only deny the user to login and show a message like:Your password has expired. Please click on "Forgot password?" and follow the procedure to set a new one.
It works but, you know, that's not so good in terms of user experience.
I'd like to redirect the user to the reset-password card directly when then backend claims the user needs to change password.
Describe the solution you'd like
Make FlutterLoginState public
Make _changeCard method into lib/src/widgets/cards/auth_card_builder.dart public
Is your feature request related to a problem? Please describe. It would be great to have the ability to navigate between cards programmatically, using my own logic instead of the standard flow, here there is one use-case:
Your password has expired. Please click on "Forgot password?" and follow the procedure to set a new one.
It works but, you know, that's not so good in terms of user experience. I'd like to redirect the user to the reset-password card directly when then backend claims the user needs to change password.Describe the solution you'd like
_changeCard
method intolib/src/widgets/cards/auth_card_builder.dart
publicAnd call the method wherever we want, e.g:
Additional context