Skip to content

[Feature] Provide Reauthenticate method under CrossFirebaseAuth.Current.CurrentUser #52

Closed
@Kapusch

Description

@Kapusch

Hi @TobiasBuchholz , recently Apple requested app developers to provide a way for their users to delete their account.

I was happy to find the DeleteAsync method under CrossFirebaseAuth.Current.CurrentUser, however I have faced a FIRAuthErrorCodeRequiresRecentLogin which basically indicates the user has attempted a sensitive operation more than 5 minutes after signing in, and then requires recent authentication.

I could prompt a dialog for the user to be able to reauthenticate, however this is not suitable for users who signed in with Google, Facebook or Apple.

I can explain to my users that they need to reauthenticate and quickly go for the deletion of their account, however this would be neat having a Reauthenticate method under CrossFirebaseAuth.Current.CurrentUser.

I can see from the docs there is a way to do so with providers as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions