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 (...
Disabled password whitespace trimming as that interferes when password ends with a space, which although should be allowed results in a mutated password. Same way, if a user enters 8...
This commit removes the GET method from the LogoutView when ACCOUNT_LOGOUT_ON_GET==False. Before this commit, the logout endpoint accepts GET requests and appears in the [auto-generated DRF docs](https://bit.ly/2OMpwKx), but it's not...
I think signup email sending was working fine during invoking: `RegisterView.perform_create`, where we call `allauth.account.utils.complete_signup`, `allauth.account.utils.perform_login`. But now it stops at string in `perform_login`: ``` adapter = get_adapter(request) if not...
Replaces deprecated FBVs for the new standard CBVs. Since Django 2.1 the following FBVs were dropped from `contrib.auth.views`: * `logout()` * `password_reset()` * `password_reset_confirm()` * `password_change()`
Send `user_logged_in` signal on `REST_SESSION_LOGiIN` when is set to false. This is because when this variable is disable, `django_login` is not executed and then `user_logged_in`signal is not going to be...
Fixes #226
…is token the `adapter.parse_token`, so that `SocialToken` instance also caches the `refresh_token` and refresh is possible for "offline" mode (e.g. tested with google api offline mode)
I'm trying to package this project for NixOS and it would be very beneficial if tests could be executed.
add docs for custom permission for standard registration view