Commit Graph

716 Commits

Author SHA1 Message Date
Jonathan Henrique Maia de Moraes
3304a6b3d3
Fix JWTSerializer USER_DETAILS_SERIALIZER import
Related to #30
2020-04-03 14:50:02 -03:00
Marc LaBelle
8b284f8adf fixed typo in 500 response 2020-04-02 10:07:23 -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
f2a507802d
Merge pull request #29 from jazzband/revert-24-patch-1
Revert "Update documentation"
2020-04-01 18:41:49 -05:00
Michael
9180f3967a Revert "Update documentation"
This reverts commit 1c485bcbce.
2020-04-01 18:41:23 -05:00
Marc LaBelle
241011a353 attempt to blacklist token if no JWT_AUTH_COOKIE is found 2020-04-01 18:56:41 -04:00
Marc LaBelle
26b6e22043 blacklist refresh token on logout if REST_USE_JWT and added .idea to gitignore 2020-04-01 18:54:16 -04:00
Anuj Sharma
1c485bcbce Update documentation
Update documentation for `old_password` validation skip.
2020-04-01 02:19:46 -05:00
Michael
d9996a7529
Merge pull request #20 from anuj9196/master
Note in docs to add allauth urls if account email verification is man…
2020-03-30 21:36:44 -05:00
Anuj Sharma
3c896603ad
Update module name
Changed module name to `dj_rest_auth`
2020-03-31 07:57:14 +05:30
Anuj Sharma
de25807805
Note in docs to add allauth urls if account email verification is mandatory
Update docs to add `account_email_verification_sent` endpoint while using `registration`.

Without this endpoint, if email verification is set to **MANDATORY** , it gives error
```
Reverse for 'account_email_verification_sent' not found. 'account_email_verification_sent' is not a valid view function or pattern name.
```

This is a copy PR of [#577](https://github.com/Tivix/django-rest-auth/pull/577) in in upstream project.
2020-03-30 22:02:12 +05:30
Michael
68dbdf7e3e Fixes docs code sample 2020-03-28 14:24:21 -05:00
Michael
53ca547ed2 Updates RST Docs 2020-03-28 14:19:46 -05:00
Michael
c05903baac Adds note about React SPA 2020-03-28 14:15:50 -05:00
Michael
66beda5efc Updates changelog 2020-03-28 14:05:20 -05:00
Michael
c4130d1812 Adds more help to docs 2020-03-28 14:00:06 -05:00
Michael
a7f54991c1 Adds POC Login Form in React 2020-03-28 13:51:31 -05:00
Michael
ac3cbcb613 Adds React SPA 2020-03-28 12:15:02 -05:00
Michael
ff7d9728bb Use master in demo 2020-03-28 11:39:21 -05:00
Michael
9d24b4ffe0 Updates docs and demo 2020-03-28 11:36:03 -05:00
Michael
c933513438 Bumps version, fixes import ordering 2020-03-28 11:09:07 -05:00
Michael
1eaa8edd0e README tweak 2020-03-22 06:40:01 -05:00
Michael
fe06053abe Adds JWT example to Readme 2020-03-22 06:38:54 -05:00
Michael
27226223f4
Merge pull request #3 from alichass/master
Replacing rest_framework_jwt with django-rest-framework-simplejwt
2020-03-22 06:27:54 -05:00
Michael
bfd6750104 Removes coveralls patch edit 2020-03-22 06:25:43 -05:00
Michael
27815933f5 Bumps minor version 2020-03-22 06:23:13 -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
Michael
50b7a4ab88
Merge pull request #11 from dedsm/patch-1
Fix typos in the registration serializer documentation
2020-03-21 20:40:30 -05:00
David De Sousa
dbb3ff2b81
Fix typos in the registration serializer documentation 2020-03-21 11:59:54 +01:00
alichass
f73f3af1d3 hopefully this should work? 2020-03-19 17:09:20 -04:00
alichass
12e79aa33e changed for use w/ cookies 2020-03-19 14:37:35 -04:00
Michael
3017853ee6
Merge pull request #7 from mohmyo/patch-1
Uncomment 'django.contrib.messages'
2020-03-13 00:39:23 -05:00
Michael
344a52929b
Merge pull request #8 from mohmyo/patch-2
Fix AttributeError at /docs/
2020-03-13 00:38:45 -05:00
Mahmoud Adel
654eb22b7b
Fix AttributeError at /docs/
Using this solution https://github.com/encode/django-rest-framework/issues/6809#issuecomment-546302742

To fix:
AttributeError at /docs/
'AutoSchema' object has no attribute 'get_link'
2020-03-12 17:42:09 +02:00
Mahmoud Adel
597d17e6ff
Uncomment 'django.contrib.messages'
When run  'python manage.py migrate --settings=demo.settings --noinput'

I get this on console
SystemCheckError: System check identified some issues:

ERRORS:
?: (admin.E406) 'django.contrib.messages' must be in INSTALLED_APPS in order to use the admin application.

So uncomment it to solve the issue.
2020-03-12 17:22:46 +02:00
Michael
6460348709
Merge pull request #5 from MathiasLantean/Fix_LoginSerializer
Fix if condition in LoginSerializer
2020-03-11 13:34:33 -05:00
Mathias Lantean
e198f8dddb Fix if condition in LoginSerializer
As there is no reference to 'rest_auth.registration' this condition always validates to False.
We should check if 'dj_rest_auth.registration' is in INSTALLED_APPS.
2020-03-11 15:23:22 -03:00
alichass
6dd2aea624 Update setup.py 2020-03-11 06:22:52 -04:00
alichass
231ccc04a3 updated docs 2020-03-11 06:15:32 -04:00
alichass
23e88f9838 update registration views to work with simplejwt 2020-03-11 06:05:11 -04:00
alichass
4fb746e645 updated tests 2020-03-11 06:03:59 -04:00
alichass
9bbc4a3014 change standard auth stuff to work with simplejwt 2020-03-11 06:01:03 -04:00
Michael
229b75543e Updates version in demo project 2020-03-10 22:44:21 -05:00
Michael
a4915a1ea8 Adds coverage repo token 2020-03-06 18:04:47 -06:00
Michael
3b830790f7 Adds coveralls dep and tests 2020-03-06 18:02:05 -06:00
Michael
fe01ba0231 Adds coverage badge 2020-03-06 17:56:32 -06:00
Michael
b5914dbb45 Adds contributing file 2020-03-06 17:48:57 -06:00