Custom signup flow together with Two-Factor Authentication

Hello dear Forrumers

I have implemented Custom signup flow as dependency on my app but now I want to add Two-Factor Authentication. I did it as required - enabled from USER settings
but when my user try to log in their User Name and password is not working
As I understand Two-Factor Authentication is disabling Custom signup flow

Is it possible to solve this?
Is it possible to use them together?

Thank you for your answers

Have you looked at Anvil Docs | Logging in Using Code

I don’t use two-factor authentication, but that page seems to describe what you’re looking for. If you’ve already seen that page and tried to implement it, showing some example code will help others give you better advice.

1 Like

Thank you very much Jay !
I did it !
Just added two factor steps into my Custom Login Flow and it is working !

1 Like

Last question Jay:

How can translate 2-factor alerts into my language?

Those are Anvil provided alerts, so I doubt you can translate them. You may need to go back to the link I posted above, and look at the sections on implementing two-factor authentication yourself, without the built-in form. I have no idea how that works.

If you can’t work it out from the docs, you should post another question about it in a new post, so the subject is more appropriate. That might catch the attention of folks who’ve done it before.

Edit: just saw you already posted another topic about it.

2 Likes