Commit Graph

23 Commits

Author SHA1 Message Date
Noam
b2c06fa18a Moved jwt auth class to separate file to avoid hard dependency. 2020-06-23 20:28:18 +03: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
3f07966477 Simplfies CI config + Pins dep versions 2020-06-20 12:53:16 -05:00
Michael
095b1cacda Adds xml outputs 2020-06-20 12:25:55 -05:00
Bruno Michetti
9e8c98e892 Add test of browsable endpoint to maintain coverage 2020-06-02 13:25:00 -03: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
Marc LaBelle
91c052fe47 changed invalid or expired and blacklisted errors to 401 2020-04-09 21:00:48 -04:00
Marc LaBelle
d5d9c69aa3 check if blacklist is installed and warn user to delete client side if cookies and blacklist are not enabled 2020-04-09 20:53:04 -04:00
Marc LaBelle
8f97cbc617 added rest_framework_simplejwt.token_blacklist to settings for tests, return 500 if error occurs instead of raising, added unit tests for blacklist 2020-04-02 10:01:07 -04:00
Marc LaBelle
aaab91f82b updated exceptions to raise error if not not handled 2020-04-01 21:28:02 -04:00
Michael
c933513438 Bumps version, fixes import ordering 2020-03-28 11:09:07 -05:00
Michael
4070bce94b Attempts to fix tests 2020-03-22 06:20:44 -05:00
Michael
ce3b90dea6 Re-adds previous tests 2020-03-22 05:52:26 -05:00
Michael
475e0b94c2 Support for Http-Only JWT Cookies 2020-03-22 05:41:16 -05:00
alichass
f73f3af1d3 hopefully this should work? 2020-03-19 17:09:20 -04:00
alichass
4fb746e645 updated tests 2020-03-11 06:03:59 -04:00
Michael
8bc9ba8c8a Fixes references to serializers + isort 2020-02-29 23:56:21 -06:00
Michael
a639fc6ace Fixes broken tests 2020-02-29 22:47:06 -06:00
Michael
cd2328cfde WIP 2020-02-29 21:25:20 -06:00
Michael
331094b6a7 Fixes Imports 2020-02-29 19:54:53 -06:00
Michael
41dce8885a Fixes tests 2020-02-29 19:46:32 -06:00
Michael
92cc9c18ec Renames project to dj-rest-auth 2020-02-29 17:59:38 -06:00