Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Blockstack Web Authentication #28

Open
uonuon opened this issue Mar 26, 2020 · 0 comments
Open

Blockstack Web Authentication #28

uonuon opened this issue Mar 26, 2020 · 0 comments

Comments

@uonuon
Copy link

uonuon commented Mar 26, 2020

Hello, I was thinking if we possibly could make the user easier authentication from the webapp, on his mobile.

For example: if I am logged in already on the webapp, I can easily scan the QR Code, contains my identity, and automatically login with this identity on react-native app.

I was looking on iOS SDK, I saw that BlockstackSDK.signIn(); calls makeAuthRequest function, that takes the payload back from the browser and decode it and then calls Auth.handleAuthResponse(authResponse, transitPrivateKey).

Since the identity on Blockstack authentication holds the authResponse and transitPrivateKey, why not exporting Auth.handleAuthResponse(authResponse, transitPrivateKey) and make the QR code holds the authResponse and transitPrivateKey, then we can join the app?

It's a suggestion, I know it would be really helpful for users to easy authenticate with their identity!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant