nextcloud-cookbook-flutter
nextcloud-cookbook-flutter copied to clipboard
[Feature request] QR-Code scanning for importing MFA app passwords
No idea how easy such a thing would be to implement, but just an idea. Nextcloud has that feature to turn the app password into a QR code. I know you have that checkbox under advanced to help facilitate mfa users, but I wasn't really sure how it was suppose to work. I would think the user would simply just enter in the generated app password from their nextcloud which was I ended up doing.
Hello
I think you used the functionality correctly. If you have MFA active you need to create the appPassword yourself and select the specific option. If you do not use MFA the app will generate an appPassword on its own on the first login, and from then on only uses the generated appPassword to continue.
I like the idea behind the QR code scanning but it will be very low prio, as users with MFA can already log in and it is not that big of a deal. But i will keep it on here as a feature request.
Oh I see. that is neat, and a great idea.
As for the QR code, agreed, totally low priority.
Where I was confused,
It's the phrasing for the checkbox: "Use self generated App Password Needed for accounts with 2FA"
You of course mean that self generated app passwords are needed for 2FA users. In my mind, I read that as that checkbox was needed for 2FA users and was confused as I couldn't see how that checkbox would help a 2FA user. It doesn't really clarify that the feature is really meant to improve security for non 2FA users.
@joleaf already implemented that feature in his NC Passwords Mobile App, a nextcloud app also written in flutter. Perhaps you can use this as reference implementation or even copy&paste:
- issue: https://gitlab.com/joleaf/nc-passwords-app/-/issues/43 (title is a little bit misleading :-) )
- merge-request: https://gitlab.com/joleaf/nc-passwords-app/-/merge_requests/83