-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add revoke
method to allow invalidating own permissions
#723
Comments
I think this would be a great addition. I understand it may not technically be needed. However as we try to move dapps towards more traditional web users not having a "log out" like feature/feel could be a barrier to entry. New users to the space may feel uneasy seeing that their wallet can be easily "reconnected" even tho they may have "logged out". I have seen many dapps fake the log out experience which could damage the trust in MetaMask even tho it is not MetaMask fault. |
Is it possible for MetaMask to throw an info box or warning stating "User Logged out" modal in the wallet UI? It could be a means of double assurance for the user. While it may show in the dapp's UI(which could be faked) The source of truth to look at would be the MM wallet. Very similar to how we disconnect and it shows that 'we're not connected to that site'. It could show a message stating 'you've been disconnected from this site: '. There could be a logout boolean endpoint that'll trigger the modal. I'm positive i'm over simplifying it 😅 . Just though I'd throw an idea out there. Update: Just realized this would be a perfect opportunity for snaps lol, hence it being under this repo 😅 😆 . I'm looking into creating a snaps plugin right now. Will update ya'll if I can build out a PoC for this. |
This has actually been completed since we added |
Could allow connections to provide "log out" type experiences.
Could allow optional parameters for which permissions to revoke, otherwise could revoke all outstanding permissions.
The text was updated successfully, but these errors were encountered: