brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.83k stars 2.33k forks source link

Move users in permanent disconnected Uphold state (`blocked` status) back to non-connected #37745

Open Miyayes opened 6 months ago

Miyayes commented 6 months ago

Description

  1. Check if browser/client can detect, from Uphold endpoints, whether the user's account is in a permanent / irrecoverable state (cannot reauth).

@szilardszaloki may be able to consult.

Miyayes commented 6 months ago

The rewards-client can use the blocked status from the /me endpoint.

zenparsing commented 6 months ago

We can add this behavior to the LinkageChecker class. We'll probably want to add a new virtual method to the WalletProvider interface that will optionally allow for provider-specific linkage checking behavior.

Miyayes commented 5 months ago

Adding BLOCKED as we should determine whether there should be a reset or just a state change.