As a developer I would like to be able to use programmatic sign in, where the flow does not involve the UI (browser) at all.
To help a bit further, my usecase is an app that when executed like so node my_app publish a_message, will write in a my_file.json in my storage on Gaia and then terminate.
As @jackzampolin suggested in Slack, it would be nice to spec a flow for non UI auth.
Possibly related issue: #265.
I think this could be solved by specing out a signin flow for CLI applications. This would be useful for:
This is a related issue: https://github.com/blockstack/gaia/issues/96
Maybe a good solution for this would be to take some of the logic out of Blockstack browser create a new repository called blockstack-auth or something similar?
All of the logic from taking in the mnemonic and creating all of your profiles and private keys per app?
I think it actually might look similar to your repository @jackzampolin :) (https://github.com/jackzampolin/blockstack-pki)
+1
I think the plan here is to pull the logic out of the browser and move it to blockstack.js.
A lot of that code is here if anyone wants to take a crack at it.
Discussing ways to integrate blockstack apps with third parties today with @xdamman we came to the conclusion that this is a critical element.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed. Please reopen if needed.
Most helpful comment
Maybe a good solution for this would be to take some of the logic out of Blockstack browser create a new repository called
blockstack-author something similar?All of the logic from taking in the mnemonic and creating all of your profiles and private keys per app?
I think it actually might look similar to your repository @jackzampolin :) (https://github.com/jackzampolin/blockstack-pki)