A
A
artekha2017-02-18 22:55:43
JavaScript
artekha, 2017-02-18 22:55:43

How to delete firebase account?

Hello, I have made authorization, and the ability to delete my account. But if you go into your account and wait for a while, and then try to delete your account, then the deletion will not be completed. It asks me to log in again, how can I fix this? I am using angular fire.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2017-02-22
@uaKorona

If it asks you to log in again, then most likely your current session (session) has timed out.
I would add error handling to the account deletion request.
You are trying to delete an account -> If an error is returned that the user is not authorized, then -> Perform authorization and then try to delete the account
again. It would also be nice to tighten the counter of unsuccessful attempts - so that your system does not loop. For example, if after three attempts to delete the account failed, then show the user an error / send to login / whatever else you want

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question