django-rest-auth
django-rest-auth copied to clipboard
This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (...
After registering at `/rest-auth/registration/` with email, password1, password2 I get a `key` response. I POST the value of that onto `/rest-auth/registration/verify-email/` but I get 404 response. I don't think that's...
Has anyone integrated any invitations packages with django-rest-auth? I'm looking to mix this package with [django-invitations](https://github.com/bee-keeper/django-invitations) and [django-organizations](https://github.com/bennylope/django-organizations).
Fixes an issue where the response messages are displayed as a list with one character per item: `AssertionError: {'detail': ['V', 'e', 'r', 'i', 'f', 'i', 'c', 'a', [80 chars]'.']} !=...
Django was raising "is not compatible with schema generation" user warning at startup
The PR mentioned in #414. Notes: - Per the [django standard txn guidelines](https://docs.djangoproject.com/en/2.0/topics/db/transactions/), I add an option to wrap just that particular operation rather than just turning off autocommit (autocommit...
Request Method: | POST -- | -- http://xxxxxxxxxx.com:3002/api/v1/login/ 2.0.2 ImproperlyConfigured Field name `username` is not valid for model `User`. /xxxxx/xxxxxxx/xxxxxx/venv/lib/python3.4/site-packages/rest_framework/serializers.py in build_unknown_field, line 1279 /xxxxx/xxxxxxx/xxxxxx/venv/bin/python 3.4.3 ['/xxxxx/xxxxxxx/xxxxxx', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-x86_64-linux-gnu', '/usr/lib/python3.4/lib-dynload',...
When a user only has a social account associated with them and they attempt to disconnect it, we should return a 403 error, not a 500 error.
This will help if 'AllowAllUsersModelBackend' is used or any other authentication backend that allow inactive user login is used. If you don't specify 'REST_INACTIVE_USER_LOGIN' it will be False by default...
- Do not trim password whitespace (`trim_whitespace`, see: http://www.django-rest-framework.org/api-guide/fields/#charfield) - Mask password input (inspired by https://github.com/encode/django-rest-framework/blob/master/rest_framework/authtoken/serializers.py#L11-L12)
If `ACCOUNT_LOGOUT_ON_GET` is `False`, a 405 response is appropriately returned. However, when using DRF's automatic [schema/docs](http://www.django-rest-framework.org/topics/documenting-your-api/) generation, the GET method is still documented. Conditionally implementing the `get` method on the...