There is no sign out using the extension (REST api) but it can be done using the web method above.
Sign in tokens usually have a lifetime of one hour. The authenticated user will be required to sign in again after the token expires, unless the developer provides a token refresh routine to keep them logged in.
I have used the extension by mirxtrem for the sign up, sign in, and delete.
Its great for these purposes.
question. When I use the delete user, from mirxtrems extension, the user record does not actually delete from he authentication list in firebase. is that by design?
Main question.
How can I use a combination of both these resources. i.e use the extension by mirxtrem for what it can do. And use the webview/ web ... technique from 'metricrat ' for he purpose of logging off, signing out, of firebase...why would that happen?
also, thrid question - I was able to "sign in" even with a wrong password in the 'metricrat' version.
To enable "Logout", can we not do this?
Store the refreshtoke in a global variable.
On Logout button click, call FirebaseAuth.RefreshIdToken passing the token stored in the variable.
Set the variable to null/blank.
The FirebaseAuth.Error event gets called; if no errors, the event FirebaseAuth.AfterRefreshToken gets triggered. Here if the variable is null, set the expireIn to 0 or a small number like 5 (5 seconds).
This should log the user out of Firebase dB, right..on top of other app. level logout options