-
Notifications
You must be signed in to change notification settings - Fork 8
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
#164069215 JWT Auth on successful login and registration. #10
Conversation
add0fbb
to
cbdad42
Compare
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.
@BagzieGracious I think you should add an image to show how the user inputs their credentials when logging in and registering
cbdad42
to
712a3f8
Compare
Good work, could you also add a screenshot showing some of these things in action, like when someone logs in or signs up |
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
LGTM |
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
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 cloned and run it successfully on my computer
2719e1b
22f1301
to
b274358
Compare
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
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
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.
Good work @BagzieGracious , You can also add tests for the different edge cases for example what happens when an invalid token is provided
e791cf8
b274358
to
e791cf8
Compare
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.
Thanks @BagzieGracious for the good work, you just have to make sure you test enough as your push decreased test coverage by 4%.
e791cf8
to
b4dfdb1
Compare
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.
@BagzieGracious take a look at the ReadMe.md it has some repetitive information
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
…egistration and Login - Users receive a JWT upon successful Registration and Login, and then implements the newly strategy for authentication. [Finishes #164069215]
fda1d70
b4dfdb1
to
fda1d70
Compare
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.
Good work @BagzieGracious you where able to add tests however you could consider adding a minimum length to your password field under your login serializer just to ensure a reasonable password is entered
Okay it would bring about maintainability issues
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 good job @BagzieGracious
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
What does this PR do?
Description of Task to be completed?
How should this be manually tested?
The below endpoints will be used to log in with
POST http://127.0.0.1:8000/api/users/
POST http://127.0.0.1:8000/api/users/login/
Any background context you want to provide?
What are the relevant pivotal tracker stories?
#164069215
screenshots