This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signature, claim type, and data.
Returns a url that the user can navigate to to authorize Twitter
Returns an attestation if verification is successful
Currently Flask Session is using the filesystem to store session data. Files are placed in `flask_session`. Eventually we probably want to switch to Redis or something, but this should do for now.
1a4177b
to
d41c12c
Compare
4 tasks
If we're only going to check for one thing, it should be the signature. Technically the other pieces of data should be known by the client beforehand, and are not strictly needed in the response.
Before this would throw a key error; now we're returning an error message.
@tyleryasaka is this still in WIP or should I test/review this and try it out on my local? |
@Gzing It's ready for review! |
Gzing
approved these changes
Apr 27, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Really digging the restful + marshmallow API setup. 👍
We could add max wrong tries on Phone and Email verification endpoints to make those more secure. Will add that as a separate issue.
crazybuster
approved these changes
Apr 30, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
NOTE: Added an issue for more logic centric exceptions with issue#29, also we should probably change the return types from dicts to better typed return objects.
This was referenced May 1, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist:
develop
branch instead ofmaster
Description:
Contains commits from #27 (would be easier to review/merge that first)
Finishes #21, #22, #8, #9, #7, #3, #23