Commit Graph

717 Commits

Author SHA1 Message Date
Aprimus
12173461ac Change to string import instead of serializer class 2020-07-07 20:27:01 +02:00
Aprimus
8e939e30ed fix tests override settings for TokenObtainPairSerializer 2020-07-07 18:29:18 +02:00
Michael
888791915b
Merge pull request #103 from alichass/master
Optional CSRF protection setting for unauthenticated or authenticated views
2020-07-02 01:21:46 -05:00
alichass
909ed75d51 Update test_api.py
s'more tests for my sanity
2020-06-27 14:58:29 -04:00
alichass
0bf711166e Added CSRF checks on authenticated views when client uses JWT-cookie auth
Setting can also be set to true that turns on csrf checks on unauthenticated views
2020-06-27 05:58:47 -04:00
Michael
ee3f3710e2 Bumps version 2020-06-24 01:33:52 -05:00
Michael
b990395938
Merge pull request #100 from dhaval-mehta/master
Add compatibility for DRF 3.12
2020-06-24 01:32:30 -05:00
Michael
6c8b15eef7
Merge pull request #101 from noamkush/jwt_auth_dep_fix
Allow using without jwt dependency
2020-06-24 01:27:17 -05:00
Noam
b2c06fa18a Moved jwt auth class to separate file to avoid hard dependency. 2020-06-23 20:28:18 +03:00
Noam
8568c8221b Added missing requirement for tox. 2020-06-23 20:27:58 +03:00
Dhaval Mehta
1b2073a187 no need to pass context to get_serializer 2020-06-23 15:28:03 +05:30
Dhaval Mehta
ca355baf7a Add compatibility for DRF 3.12 2020-06-23 13:20:22 +05:30
Michael
de08967210 Fixes docs 2020-06-20 13:57:51 -05:00
Michael
68f35c22e6 Bumps version for release 2020-06-20 13:56:29 -05:00
Michael
068730ed1a
Merge pull request #99 from jazzband/alichass-jwt-custom-claims
Adds support for JWT Custom Claims Serializer
2020-06-20 13:53:56 -05:00
Michael
5c9a9f2e7f Merge branch 'pr91' into alichass-jwt-custom-claims 2020-06-20 13:39:20 -05:00
Michael
ed99925d72 Adds docs 2020-06-20 13:35:16 -05:00
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
alichass
15ad7f4c73 made JWT_TOKEN_CLAIMS_SERIALIZER setting value a callable string rather than a function 2020-06-14 19:15:22 -04:00
alichass
9e905fc8e4 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-14 17:26:28 -04: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