-
Notifications
You must be signed in to change notification settings - Fork 37
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
SH Chat Login #2813
Comments
I would like to share a sample made from philip for JWT generation. https://github.com/thepiwo/test-jwt-auth/blob/main/test/exampleTest.js This POC emulates the key derivation of superhero wallet, generate a jwt token with the first account @CedrikNikita kindly check |
Following discussions with @paolomolo @CedrikNikita @thepiwo I would like to request from @onvisions your help. Login SH Chat will call SH Wallet to sign a provided Message. Type of the message will be JWT. User signs the message and returns the result. Registration |
I'd propose to rather clearly define the design goals, instead of the abstract process. As far as I understood @CedrikNikita we need:
|
@smaroudasunicorn @thepiwo Please review suggested design and let me know if it works or I have to apply further changes.
In case it's our trusted dapp:
Design:
Superhero chat (Register account): Third party dapp: ............................
Superhero chat (Login): Third party dapp: copy message feature: sign_message.mp4 |
I think for sign transaction where the caller is replaced should be more obv. in the design. A technical question would be, how to differentiate "trusted dapps" @CedrikNikita |
@smaroudasunicorn , @CedrikNikita , @thepiwo
May be we can just use the warning color to emphasize this: The problem is from average user perspective this "the caller has been replaced" creates unnecessary technical complexity. It was hard to me to understand what's exactly happening on tech side. But as a user a care only about what I'm signing or approving explained with human friendly words such as: |
@onvisions looks good to me! |
But even better if we can display: Superhero Chat Superhero Chat |
I am ok |
Goal is to be able to Register and Login in SH Chat through SH Wallet.
Flows description
https://aeternity-blockchain.atlassian.net/wiki/spaces/CBFD/pages/449085490/Referral+Program+flows
HL Design Approach
https://aeternity-blockchain.atlassian.net/wiki/spaces/CBFD/pages/459079702/Referral+Program+Flows+High+Level+Design
We would like to provide an endpoint in the SH Wallet that can be called by SH Chat and provides a JWT token (check comment for POC)
The text was updated successfully, but these errors were encountered: