Require two-factor auth setting #940
-
Hello, Has anyone by chance been able to figure out how to enable the "Require two-factor auth for" setting when creating the user via API? I've been struggling with this and can't seem to get it to work. Thanks in Advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Just set |
Beta Was this translation helpful? Give feedback.
-
I feel like an idiot, i didn't realize it was within filters, so i was trying to create it outside of the filters section which prevented it from working. See below is the correct way i went about it.
Thanks again! |
Beta Was this translation helpful? Give feedback.
Just set
2fa_protocols
, take a look here or use the builtin swagger-ui (http://<your ip:your port>/openapi
)