Commit Graph

14 Commits

Author SHA1 Message Date
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
Bruno Michetti
9e8c98e892 Add test of browsable endpoint to maintain coverage 2020-06-02 13:25:00 -03: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
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
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
331094b6a7 Fixes Imports 2020-02-29 19:54:53 -06:00
Michael
92cc9c18ec Renames project to dj-rest-auth 2020-02-29 17:59:38 -06:00