dj-rest-auth
django-auth-tutorial
Our great sponsors
dj-rest-auth | django-auth-tutorial | |
---|---|---|
22 | 2 | |
1,568 | 246 | |
2.2% | - | |
6.1 | 3.8 | |
5 days ago | about 1 month ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dj-rest-auth
-
Can someone help me understand CSRF security? (context inside)
I am using dj-rest-auth for authentication. I am using JWT token authentication. All advice on JWT tokens is to not store them in local storage. Instead, using this package I store them in HttpOnly cookie. Now, I am apparently vulnerable to CSRF attack. So I enable JWT_AUTH_COOKIE_USE_CSRF. This checks the CSRF token on authenticated requests. However, there is still the potential vulnerability known as "login CSRF" as detailed by this issue on Github. In order to account for this, there is another setting called JWT_AUTH_COOKIE_ENFORCE_CSRF_ON_UNAUTHENTICATED. This enforces CSRF on unauthenticated views (such as login).
-
Social authentication in django rest framework.
Try to use https://github.com/iMerica/dj-rest-auth
-
djoser is dead?
I was using djoser in the past. Now Im using very similar dj-rest-auth https://github.com/iMerica/dj-rest-auth
- How can I add Login/Register/Logout endpoints?
-
How can I add Login/Register/Logout endpoint
you can use this.
-
How could we do a reliable social authentication api with custom user model?
I found the dj-rest-auth as a method of making a rest auth api, unfortunately when using the documentation I have this error coming up.
-
Login error when using Google OAuth with dj-rest-auth. Getting "redirect_uri_mismatch" error but the callback url seems to be configured correctly
I've followed the documentation: https://dj-rest-auth.readthedocs.io/en/latest/index.html
-
Django REST Framework and JS Framework (React here) authentication.
Right now, I'm using dj-rest-auth for Token based authentication. I store token in the localStorage. Earlier I was using djoser for adding auth in the project (I wrote article about my approach with djoser).
-
The Best GitHub Repositories For Django Developers.
Please use https://github.com/iMerica/dj-rest-auth as this project is no longer maintained. Thanks!
- Django with React Frontend
django-auth-tutorial
-
Django Authentication Tutorial: Login, Logout, Signup, Password Change, and Password Reset
The source code is available on Github if you need a reference or spot any issues with this tutorial. Please give the repo a star if you found it helpful.
-
I am trying to use CBVs for SignUp view. Tutorials were showing that I can replace my 30 lines of code with "method approach" with several lines of "class based view approach" but it seems that it is not working at all unless I manually add all the exceptions. Am I missing a point of CBVs?
I don't think you need that post function, especially if you're following William Vincent's tutorials. You should look into the source code that he provides to see if you've followed it to the letter. My concerns would be how you set up your own settings.py file and the template (whether the CSRF token was set, if you missed the "POST" attribute, etc.)
What are some alternatives?
django-rest-framework-simplejwt - A JSON Web Token authentication plugin for the Django REST Framework.
django-sesame - "Magic Links" - URLs with authentication tokens for one-click login
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
django-crash-starter - The Cookiecutter template for the Django Crash Course tutorial by Daniel and Audrey Feldroy.
django-two-factor-auth - Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
django-graphql-auth - Django registration and authentication with GraphQL.
django-auth-adfs - A Django authentication backend for Microsoft ADFS and AzureAD
django-nuxt-starter
django-oauth-toolkit-spa - A set of out-of-box REST endpoints for auth operations, providing refresh token in HttpOnly cookie and access token in body, perfect for SPA web apps. Built on top of models provided by django-oauth-toolkit.
django-vue-cli-webpack-demo - A minimal demo showing how to wire up Webpack of a Vue CLI app to Django templates without extra plugins.
auth-module - Zero-boilerplate authentication support for Nuxt 2