Commit Graph

698 Commits

Author SHA1 Message Date
alichass
1dce781942 made JWT_TOKEN_CLAIMS_SERIALIZER setting value a callable string rather than a function 2020-06-20 13:20:07 -05:00
alichass
0722ec4aee added the ability to customise claims in the jwt token - has tests
JWT claim serializer now can be set to something custom in settings:
JWT_TOKEN_CLAIMS_SERIALIZER = myTokenObtainSerializer

Ideally JWT_TOKEN_CLAIMS_SERIALIZER  would be a key in REST_AUTH_SERIALIZERS and assigned through import_callable, as with the other serializers; however, I could not quite figure out how to implement it that way
2020-06-20 13:20:07 -05:00
Michael
9dbbef4640
Merge pull request #94 from chrsz/feature/jwt_secure_samesite
Added other optionals settings variables to JWT cookie
2020-06-20 13:14:12 -05:00
Michael
b79426533b
Merge pull request #95 from chrsz/feature/demo_auth_drf
Add drf template auth customization
2020-06-20 13:12:25 -05:00
Michael
89573f6e68 Adds run step names 2020-06-20 13:02:48 -05:00
Michael
476c0bb1e2 Updates format 2020-06-20 12:57:30 -05:00
Michael
c167e8c5ae Quotes YAML 2020-06-20 12:54:54 -05:00
Michael
3f07966477 Simplfies CI config + Pins dep versions 2020-06-20 12:53:16 -05:00
Michael
3bd8a225d4 Adds Build Step 2020-06-20 12:43:07 -05:00
Michael
6598cdc323 Builds artifacts 2020-06-20 12:42:11 -05:00
Michael
e913ed7f4d Coverage.pt report + html out 2020-06-20 12:36:30 -05:00
Michael
ec3cf1cd14 Creates test output directory 2020-06-20 12:31:16 -05:00
Michael
095b1cacda Adds xml outputs 2020-06-20 12:25:55 -05:00
Michael
034a8bcc41 Adds store test results 2020-06-20 12:13:50 -05:00
cbomprezzi
bea6e3d229 aligned requirements to tox.ini 2020-06-15 19:28:23 +02:00
cbomprezzi
3c86fd9abb add drf login/logout/registration/user customization 2020-06-15 18:27:57 +02:00
cbomprezzi
f05abda5b0 fix distraction errors 2020-06-15 17:57:59 +02:00
cbomprezzi
5a751e241c add secure and samesite jwt cookie support 2020-06-15 17:12:41 +02:00
Michael
75dd6250bc Bumps version 2020-06-03 22:59:59 -05:00
Michael
0fdb2f9bd8
Merge pull request #82 from brunomichetti/fix/make-verify-email-browsable
Make verify email browsable
2020-06-03 22:55:06 -05:00
Michael
05296dec44
Merge pull request #85 from mimischi/patch-1
Return refresh_token and expires_in in SocialLoginSerializer
2020-06-03 22:47:17 -05:00
Michael
9fdb513b5f
Merge pull request #83 from steverecio/rate_limiting
Add DRF throttle scopes
2020-06-03 18:39:22 -05:00
Michael Gecht
ab9d6a96ae Return refresh_token and expires_in 2020-06-03 17:18:27 +02:00
Steve Recio
2daa44e5f4 change throttle scope naming (rest_auth -> dj_rest_auth) 2020-06-03 09:17:15 -04:00
Steve Recio
c03558bd2f fix merge issue 2020-06-02 21:02:44 -04:00
Bruno Michetti
9e8c98e892 Add test of browsable endpoint to maintain coverage 2020-06-02 13:25:00 -03:00
Bruno Michetti
6cdcbfacd2 Make verify email browsable 2020-06-01 17:53:33 -03:00
Michael
c5d553dfb1
Merge pull request #79 from lideen/master
Added swedish (sv) translations
2020-05-30 12:43:21 -05:00
Michael
073ea5536e Bumps to 1.0.6 2020-05-30 01:42:46 -05:00
Michael
c1e15d892e
Merge pull request #78 from null-none/master
Added Ukrainian locale
2020-05-30 01:40:14 -05:00
Michael
62e291ba77 Fixes docs 2020-05-30 01:38:03 -05:00
Michael
099e61e5f1 Removes reference tot changelog 2020-05-30 01:37:05 -05:00
Michael
13a241f0b2 Updates index 2020-05-30 01:34:42 -05:00
Dmitriy Kalinin
3ac4251233 Added ukrainian locale 2020-05-30 09:30:49 +03:00
Michael
24413e4a44 Removes changelog. Refer to Github instead 2020-05-30 01:30:16 -05:00
Michael
c18ccf57fd Improves link in docs 2020-05-30 01:25:20 -05:00
Michael
202b5e8d4d Adds vulnerability disclosure 2020-05-30 01:16:02 -05:00
Michael
dfec75ed94
Merge pull request #73 from mohmyo/patch-1
Updated PasswordResetConfirmSerializer docstring
2020-05-30 00:10:58 -05:00
Michael
6e77382f1a
Merge pull request #74 from erdaltsksn/docs/updateinstallcmd
docs: Update registration install command for zsh
2020-05-30 00:10:18 -05:00
erdaltsksn
9a75a15345
docs: Update registration install command for zsh
why: The zsh cannot process [] character correctly.

iss: https://github.com/Tivix/django-rest-auth/issues/402
2020-05-30 04:33:40 +03:00
Mahmoud Adel
1fe4ba7d34
Updated PasswordResetConfirmSerializer docstring 2020-05-28 00:13:43 +02:00
Michael
02c9242e3d
Merge pull request #72 from seanfarley/smf/django3-warnings
serializers: import gettext_lazy
2020-05-22 20:54:19 -05:00
Sean Farley
2a6fb3a873 serializers: import gettext_lazy; fixes #70
Per Django's warning, ugettext_lazy will be removed in a future version.
2020-05-19 19:22:42 -07:00
Michael
860c350ac9 Fixes the Circle CI Link 2020-05-16 15:58:57 -05:00
Michael
2a43288ec7
Merge pull request #69 from robdox/master
Implement tox for testing against all python/django versions.
2020-05-16 15:57:47 -05:00
Robert Wells
0bc943ff25 Adds a tox.ini file and instructions in the readme for how to use it. 2020-05-16 13:41:45 -07:00
Michael
a63a13ea05
Merge pull request #66 from jazzband/fixes-no-user
Fixes no-user issue
2020-05-11 19:44:26 -05:00
Michael
0be5b2dd15 Fixes no-user issue 2020-05-11 19:39:33 -05:00
Michael
1dd2019614
Merge pull request #64 from mohmyo/master
change validation order in PasswordResetConfirmSerializer
2020-05-11 02:07:12 -05:00
Mahmoud Adel
5f137da930 make token validation in PasswordResetConfirmSerializer is the first thing to do in validate() method 2020-05-10 18:05:30 +02:00