flutter_login
flutter_login copied to clipboard
Disable Password Login Field
I did my fastapi so that no passwords are needed anymore using oAuth2 tokens and sending link to their email address, any way to disable this password field?
I don't believe there is currently a way to disable the password field as per FlutterLogin
only allows for
bool hideForgotPasswordButton = false
bool hideSignUpButton = false
You could just skip the flutter_login part.
I don't think there is any use for flutter_login if you don't need a password. I'm closing this for now. Please feel free to comment if you think this should be different.
You don't want to use passwords, or second you start into android tv programming, your gonna wish you didn't in first place from experience trying to support many devices and OS's at once
You don't want to use passwords, or second you start into android tv programming, your gonna wish you didn't in first place from experience trying to support many devices and OS's at once
I can understand the use case for when a password just isn't user friendly to use, however i'm not quite sure if we should implement such a flow in this package
I guess that there could be situations where perhaps you want to login with just an ID or CODE thus needing only one field. And you want to use FlutterLogin to use the fancy animations and not just a boring text field.
But there are probably other bigger issues / features that are more important or relevant to the current package usage.
Mainly what you want to do is store a .json file of username and oauth2 password and just log them in, if does not exist, then redirect to fastapi to send them an email to click on. That link should populate their .json file afterwards. Most cross compatible way of doing it I have found.
So say your logging someone into a TV, all they have is a remote, they quickly grab their phone, check their email and boom they are done type thing.
Dan.
From: surister @.> Sent: Monday, June 28, 2021 6:13:59 AM To: NearHuscarl/flutter_login @.> Cc: syle @.>; Author @.> Subject: Re: [NearHuscarl/flutter_login] Disable Password Login Field (#159)
I guess that there could be situations where perhaps you want to login with just an ID or CODE thus needing only one field. And you want to use FlutterLogin to use the fancy animations and not just a boring text field.
But there are probably other bigger issues / features that are more important or relevant to the current package usage.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/NearHuscarl/flutter_login/issues/159#issuecomment-869596398, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAWG7TE5QYG4KFGBGKFCOTLTVBKPPANCNFSM43FHAIHQ.