Desmos single-sign-on process #458
Replies: 2 comments
-
I'm studying the We can't control if a user uses a malicious app. The mechanism itself has no problem but a crypto user should take their responsibility on choosing applications that would act on behalf of it. |
Beta Was this translation helpful? Give feedback.
-
This replace the subkeys contract as well and extend it to every possible operation basically. Very exciting! |
Beta Was this translation helpful? Give feedback.
-
As of today, most users access their social networks accounts using different platforms like web and mobile apps. In the world of centralized social networks, users are able to log into different versions of the same app (eg. Facebook web and Facebook mobile) thanks to the fact that the username and password are always the same.
However, inside Desmos this is not easily possible. Suppose we have an application that has both web and mobile versions. In this case, the developers would have to develop their own web + mobile wallets and require the user to input their mnemonic phrase inside each one of them. While this is surely doable, it is a burden towards the user and also a possible security problem if any of such wallets is breached.
For this reason, what I think we should create is an application (Desmos Account Manager) that allows the user to manage their profile properly as well as to log into other applications that might want to perform actions on the user behalf.
Such system would act as follows:
Here is the complete flow:
This will be possible thanks to the introduction of the new
x/authz
Cosmos module. With this module anyone will be able to perform a new kind of transaction namedMsgGrant
granting to another user the permission of performing particular actions on their behalf.Pros
Cons
This however can be blocked immediately by performing a
MsgRevoke
transaction.Please @bragaz @kwunyeung @dadamu let me know what you think.
Beta Was this translation helpful? Give feedback.
All reactions