Skip to content

Conversation

wbobeirne
Copy link
Member

Closes #10.

What This Does

Actually validates the information the user sends us about their Blockstack account by decoding their auth token, and looking up the data on Blockstack's Atlas node. This is still somewhat trusted since we're using their node, but I think the risks are pretty low on this one.

In order to decode a ES256K json web token, I had to use the version of the package that's currently in a pull request. Once that's merged and updated, we can use a pypi version.

Steps to Test

Auth with blockstack and confirm it works! Hard to test the negative use case (Someone spoofing a login) without editing the code, but you can give that a shot too.

@wbobeirne wbobeirne merged commit d07bf06 into master May 9, 2019
@wbobeirne wbobeirne deleted the blockstack-validate branch May 9, 2019 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Server side Blockstack validation
1 participant