Skip to content

Commit

Permalink
Cleanup removal of deprecated jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
st4lk committed Jan 17, 2021
1 parent 1afb082 commit 1117cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions README.md
Expand Up @@ -117,12 +117,6 @@ Quick start
url(r'^api/login/', include('rest_social_auth.urls_jwt_sliding')),
```

4.3.1 [jwt authentication (deprecated)](http://getblimp.github.io/django-rest-framework-jwt/)

```python
url(r'^api/login/', include('rest_social_auth.urls_jwt')),
```

4.4 [knox authentication](https://github.com/James1345/django-rest-knox/)

```python
Expand Down Expand Up @@ -215,14 +209,14 @@ Quick start

Check [docs of simplejwt](https://github.com/davesque/django-rest-framework-simplejwt#token-types) for pair/sliding token difference.

Note. `django-rest-framework-simplejwt` doesn't work on and python3.6
Note. `django-rest-framework-simplejwt` doesn't work on python3.6

5.4 knox authentication

- POST /api/login/social/knox/
- POST /api/login/social/knox_user/

Similar to jwt/token authentication, but token is a Django Rest Knox Token.
Similar to token authentication, but token is Django Rest Knox Token.

To use it, [django-rest-knox](https://github.com/James1345/django-rest-knox/) must be installed.

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
django>=1.11,<4.0
django>=2.2,<4.0
djangorestframework<4.0
social-auth-core>=3.0,<4.0
social-auth-app-django>=3.1.0,<4.0

0 comments on commit 1117cfa

Please sign in to comment.