Scenario:
User do a logon using an account (firebase authentication).
He receives a token. This token is sent to my B4J server and stored on device. Now he has access to my server.
The user comes in contact and say that device has lost. He asks to block access.
If I just block that token the user will be permanently disabled even if he buys a new phone and changes the passwords in his email provider.
I not would able to distinguish new device and old device because both has de same token.
How work arround?
User do a logon using an account (firebase authentication).
He receives a token. This token is sent to my B4J server and stored on device. Now he has access to my server.
The user comes in contact and say that device has lost. He asks to block access.
If I just block that token the user will be permanently disabled even if he buys a new phone and changes the passwords in his email provider.
I not would able to distinguish new device and old device because both has de same token.
How work arround?