Michael
a190e036d2
Bug fixes related to Simple JWT integrations
2020-04-16 01:59:04 -05:00
Michael
3f61d483e8
Merge pull request #38 from necaris/fix/import-of-simplejwt
...
Don't _require_ rest_framework_simplejwt
2020-04-16 01:57:20 -05:00
Michael
d53c447e95
Merge pull request #41 from SerhiyRomanov/fix_REST_AUTH_TOKEN_MODEL
...
Use import_string for getting TokenModel instead of passing class
2020-04-16 01:56:33 -05:00
Michael
17e9230497
Update dj_rest_auth/urls.py
...
Co-Authored-By: Daniele Tricoli <eriol@mornie.org>
2020-04-16 00:28:14 -05:00
Michael
d882edcf10
Update dj_rest_auth/urls.py
...
Co-Authored-By: Daniele Tricoli <eriol@mornie.org>
2020-04-16 00:28:05 -05:00
Serhiy Romanov
5e8cca1633
Use import_string for getting TokenModel instead of passing class
2020-04-15 16:26:54 +03:00
VolkerSchiewe
8583c5597e
Add token endpoints from rest_framework_simplejwt to url config
2020-04-15 10:44:54 +02:00
Rami Chowdhury
506912f832
Move import inside response method
...
This is not idiomatic, but I don't see another neat way to move it out
of the top level and still handle testing / other situations where the
settings are modified on-the-fly.
2020-04-14 15:20:43 -04:00
Rami Chowdhury
40208ea0b6
Don't _require_ rest_framework_simplejwt
...
Rather than importing it at the top level (which breaks dj-rest-auth
entirely if you aren't using JWTs and don't have the library installed),
only do the import if the user has the relevant setting enabled.
2020-04-14 13:26:52 -04:00
Michael
40125b15c4
Bumps version for release
2020-04-13 23:05:06 -05:00
Michael
275d1c4952
Merge pull request #28 from mjlabe/logout-blacklist-jwt-token
...
Refresh token not blacklisted on logout
2020-04-09 21:03:07 -05:00
Marc LaBelle
1c64c0d398
changed spacing for better readability
2020-04-09 21:03:41 -04: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
b55fcc2361
deleted make file and adding testing section to README
2020-04-07 20:24:15 -04:00
Michael
058df2b1ce
Bumps version
2020-04-06 20:39:11 -05:00
Michael
497d88c2ca
Merge pull request #32 from altjohndev/master
...
Fix JWTSerializer USER_DETAILS_SERIALIZER import
2020-04-03 20:45:33 -05:00
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