You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to implement a reauthentication flow prior to deleting a user account. When I display a ReauthenticateDialog, the "Verify that it's you" dialog with "Sign in with Google" button appears. But when I tap the button, reauthentication occurs automatically (no prompt for password), my onSignIn callback is called, and the account is successfully deleted. This seems kind of pointless without actually requiring the user's credentials. Am I doing something wrong, or is this by design?
A few details:
I'm testing on Android (emulators and real devices)
I'm using my own user profile screen with my own "Delete account" button. It has a confirmation dialog, followed by the ReauthenticateDialog.
I've tried calling GoogleSignIn().disconnect() before displaying the ReauthenticationDialog, but that results in an error.
Thanks much for any advice. If I should provide any other details, let me know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to implement a reauthentication flow prior to deleting a user account. When I display a ReauthenticateDialog, the "Verify that it's you" dialog with "Sign in with Google" button appears. But when I tap the button, reauthentication occurs automatically (no prompt for password), my onSignIn callback is called, and the account is successfully deleted. This seems kind of pointless without actually requiring the user's credentials. Am I doing something wrong, or is this by design?
A few details:
Thanks much for any advice. If I should provide any other details, let me know.
Beta Was this translation helpful? Give feedback.
All reactions