-
Notifications
You must be signed in to change notification settings - Fork 59
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
Added GitHub Oauth registration and login #109
base: develop
Are you sure you want to change the base?
Conversation
@isabelcosta Can you review this PR? |
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.
Could you please add any tests to the PR. I know this is using an external API, so you might need mocks @codesankalp
fab2538
to
7e96fdc
Compare
@isabelcosta I have added tests for this. |
7e96fdc
to
36491b8
Compare
Codecov Report
@@ Coverage Diff @@
## develop #109 +/- ##
===========================================
+ Coverage 64.85% 66.23% +1.37%
===========================================
Files 64 66 +2
Lines 1030 1075 +45
===========================================
+ Hits 668 712 +44
- Misses 362 363 +1
Continue to review full report at Codecov.
|
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 👍
Will test it soon
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.
Awesome! Looks good😃
@codesankalp could you promote this within the community, so we can have someone testing this :) It does not have to be always @devkapilbansal , so we can also see if more people get into QA contributions ;) |
@codesankalp could you create a separate PR for removing the secret key? In this way, the tests bit would not be so dependant on this PR. Let me know once you create I can get it approved and merged right away |
Added GitHub Oauth which uses JWT REST API for authenticating users. Fixes anitab-org#101
b03c9ae
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 👍, Thank you @codesankalp, pls resolve the merge conflict.
Codecov Report
@@ Coverage Diff @@
## develop #109 +/- ##
===========================================
+ Coverage 64.88% 66.26% +1.37%
===========================================
Files 64 66 +2
Lines 1031 1076 +45
===========================================
+ Hits 669 713 +44
- Misses 362 363 +1
Continue to review full report at Codecov.
|
Description
Added GitHub Oauth which uses JWT REST API for authenticating users.
Make
SECRET_KEY
with default value.Fixes #101
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Checklist:
requirements.txt
Code/Quality Assurance Only