any way to force users to set up 2fa on sign up?
# talk-kratos
a
any way to force users to set up 2fa on sign up?
h
This isn’t possible at the moment. Could you open an issue to track this?
a
Is this possible with custom sign-up flow? Can we do it on our own?
h
You could create a blocking post registration hook (if login after registration is enabled) and post login hook to force the user to setup mfa until they have an AAL2 session
m
I think in this case you also have to disable the session hook post registration (so the user does not get logged in immediately when they sign up).