-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow deletion of accounts that don't have password #2782
Comments
If this issue is not resolve please assign this to me |
@Divyansh044 I have assigned it to you. Please don't hesitate to bring up any questions or concerns for discussion, whether it's here or on our Discord channel, as you address the issue. |
@gagantrivedi Thank you so much for assigning this to me. I would surely ask questions and my concerns. |
@gagantrivedi sir I have messaged you on discord regearding my query please reply |
@Divyansh044 please post your questions here rather than discord so that anyone from the team can help. |
@matthewelwell Sir, I need help in understanding the code base. |
Hi @Divyansh044, to answer your direct question regarding the google auth option not show. That's because you'll need to set up your own flagsmith on flagsmith project and configure the In terms of understanding the code base, I'm afraid that you'll have to try and do that independently. I can help point you in the right direction at least. Firstly, I'd recommend checking out the PR here #2157 which added the functionality in the first place. In order to make this change, you'll likely need to check the |
I'm able to reproduce this issue and would like to work on it, but before that need to clarify the expected behaviour. For accounts with no passwords, we have the following options:
Please let me know which approach should be followed and if we follow approach 2, what should be the decisions within that approach should be |
Hi @shubham-padia , agree with approach 2 here and let's just implement the check on the FE by prompting them to enter their email. |
@matthewelwell One more clarification needed on the approach to solve this: Right now, the client does not have a way of knowing whether a user has a password set or not, because of which we can't toggle b/w the password and email confirmation dialog. This gives us two options:
|
I think option 1 here is fine, thanks for all the thought on this though! |
Fixes Flagsmith#2782. We are enabling passwordless deletions only for Github and Google accounts and not for non email/password auth accounts, since it doesn't feel right to assume the behaviour of the next social auth that might be added.
Great! Raised a PR at #3693 |
Fixes Flagsmith#2782. We are enabling passwordless deletions only for Github and Google accounts and not for non email/password auth accounts, since it doesn't feel right to assume the behaviour of the next social auth that might be added.
Fixes Flagsmith#2782. We are enabling passwordless deletions only for Github and Google accounts and not for non email/password auth accounts, since it doesn't feel right to assume the behaviour of the next social auth that might be added.
Describe the bug
Delete accounts asks for passwords, but accounts created using social auth don't have passwords
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Deletion should be allowed
Current workaround
From the login page, follow the reset password workflow to generate a password which can subsequently be used to delete the account.
The text was updated successfully, but these errors were encountered: