dj-rest-auth
django-nuxt-starter
Our great sponsors
dj-rest-auth | django-nuxt-starter | |
---|---|---|
22 | 6 | |
1,568 | - | |
2.2% | - | |
6.1 | - | |
6 days ago | - | |
Python | ||
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-nuxt-starter
- Building 12 Startups in 12 Months with Vue.js + Django! 🚀🚀
- Application data flow between browser, Nuxt and Django for simple CRUD app with session authentication (repo, article & diagram in comments)
- Session Authentication with Django, Django REST Framework and Nuxt
-
The frontend framework paralysis
Here's a link to a Django + Nuxt project I'm working on https://gitlab.com/briancaffey/django-nuxt-starter. I'll be posting some related articles about Nuxt + Django on r/django later this weekend. Let me know if you have any questions!
-
Building web applications with Django, Django REST
This year I rebuilt my personal blog (briancaffey.github.io) with Nuxt.js, the @nuxt/content headless git-based CMS and TailwindCSS. It is statically generated with Nuxt's full-static mode and has been really enjoyable to work with. I have also learned a lot more about SEO and how Nuxt helps improve Vue applications' SEO. I have also been working a lot with Django and Vue.js applications where Django serves as an API to a Vue.js SPA. This combination of technologies works well for a lot of use cases, but it falls short in SEO. Nuxt also provides a great way to organize large Vue.js projects which I have been finding very helpful. For these reasons, combining Django and Nuxt has been something that I have wanted to try for a while, so this article will share some of my experiences in recent efforts to build with these two frameworks. I took detailed notes of each step of the project setup starting from an empty repository, and I put together a diagram of my understanding of how data flows in the application.
What are some alternatives?
django-rest-framework-simplejwt - A JSON Web Token authentication plugin for the Django REST Framework.
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.
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
awesome - A curated list of awesome things related to Nuxt.js
django-two-factor-auth - Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects.
django-auth-adfs - A Django authentication backend for Microsoft ADFS and AzureAD
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-sesame - "Magic Links" - URLs with authentication tokens for one-click login
auth-module - Zero-boilerplate authentication support for Nuxt 2
django-rest-framework-social-oauth2 - python-social-auth and oauth2 support for django-rest-framework
django-auth-tutorial - Source code for Django authentication tutorial.