django-rest-auth Questions
2
Solved
I'm trying to return UserSerializer after successful login through dj-rest-auth.
I followed the steps that were told in
After login the `rest-auth`, how to return more information?
which has a simi...
Stacy asked 25/7, 2024 at 13:34
3
Solved
I use django-rest-auth in my Django project.
After login the rest-auth/login/, how to return more information?
In the rest-auth/login/, when I login the user, it returns a key.
I want to also...
Bongbongo asked 18/1, 2018 at 5:56
2
DjangoRestFramework seems to handle errors with a variety of ways. The ValidationError in the serializer class does not consistently return JSON the same.
Current response includes a JSON list/obj...
Pastern asked 22/2, 2016 at 18:26
5
Solved
I am trying to create an authentication API for a flutter app that will log users in with a google authentication signup/login form. I followed this tutorial to achieve this.
So far so good, except...
Irita asked 4/10, 2020 at 12:23
11
Solved
I am building an application with Django Rest Framework and AngularJs. I am using Django-rest-auth for my authentication purposes, although, I have not been able to set it up. Anyway, I am trying t...
Aruspex asked 14/2, 2016 at 5:20
5
I'm using Django Rest Framework and also django-rest-auth.
I've the standard API endpoints (/login, /logout, /registration...)
With my browser, I can login/list my users/logout.
With Insomnia (a...
Coleslaw asked 25/4, 2019 at 9:37
3
Solved
I'm using dj-rest-auth (https://dj-rest-auth.readthedocs.io/en/latest/) and trying to implement a custom registration form. When I'm trying to register a new user I have the base form.
I've seen wi...
Progressionist asked 9/6, 2020 at 20:34
9
Solved
In django rest_auth password reset, default email content look like following:-
You're receiving this email because you requested a password reset for your user account at localhost:8000.
Ple...
Vidavidal asked 20/1, 2016 at 10:45
5
I'm using django-rest-auth for user signup and verify email.
I'm able to successfully send the email when a user signs up. Howvever, on email verification, I'm getting this error with the following...
Packsaddle asked 19/4, 2015 at 3:12
3
Solved
error : from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls'
-version
Django==4.0.1
django-rest-auth==0.9.5
Pl help me.Thank you in advance
url.py
# Core...
Xerophthalmia asked 17/1, 2022 at 8:27
1
I'd like to use django-rest-auth to easily make use of the registration and social auth features of django-allauth in my API.
I'd also like to use django-rest-knox, as it provides a token per devi...
Helaine asked 18/1, 2017 at 18:35
4
Solved
I am using django-rest-auth and allauth for login and registration in my django app. I haven't written any extra single line of code of my own for login or registration. Registration is successful ...
Anthraquinone asked 28/4, 2016 at 9:21
11
Solved
Both JWT packages written for Django gave me issues with poor documentation, so I try DRF-auth_token package. This is a good example I followed, Django Rest Framework Token Authentication. You shou...
Voracious asked 16/10, 2016 at 22:38
4
Solved
I have an Android client app that tries to authenticate with a Django + DRF backend. However, when I try to login, I get the following response:
403: CSRF Failed: CSRF token missing or incorrect.
...
Kanter asked 16/9, 2015 at 7:15
3
Solved
I am using django, drf and django-rest-auth. I send token from frontend in request header
{'Authorization': 'Token {$Token}'}
But this request seems like unauthorized. I want to get users infor...
Oudh asked 29/6, 2017 at 6:36
3
Solved
I have set up django-rest-auth as per the installation tutorial, yet I am not able to use the login API endpoint. When I send a POST request with the correct information, I receive a 405 status err...
Desorb asked 14/7, 2018 at 21:27
3
Solved
I'm working with DRF and came across this issue. I have a third-party view which I'm importing in my urls.py file like this :
from some_package import some_view
urlpatterns = [
path('view/',some...
Crawly asked 13/3, 2020 at 7:24
4
I am using django rest-auth and allauth to authenticate users. After successful signup and email verification, I implemented a login view which subclasses rest-auth.views.LoginView like below:
clas...
Debrief asked 26/9, 2019 at 7:53
2
Solved
I'm trying to use allauth and rest-auth in my project and try to use the built-in function in allauth to do email verification but this what I get :
and here is my code
settings.py
ACCOUNT_EMA...
Uncourtly asked 22/1, 2018 at 21:44
5
I'm trying to implement Google authentication in django with allauth and rest-auth. After many hours of research, none of the solutions I found worked in my project.
I based my code on a github is...
Hypoacidity asked 29/7, 2019 at 10:52
3
I use django-rest-auth and django-allauth about user registration/login using user's Facebook profile.
Now, I can take some standard information from Facebook (default for all auth).
Is possible ...
Peralta asked 16/3, 2015 at 16:32
1
Solved
My app has a Django 3.1 backend with django-allauth and dj-rest-auth (actively supported fork of django-rest-auth).
My mobile and web frontends can already sign in using Facebook and Google via RES...
Neighbors asked 3/12, 2020 at 5:38
1
https://django-rest-auth.readthedocs.io/en/latest/installation.html here is the official docs about social login in django-rest-auth. they say the way to make the LoginView(GithubLogin, FacebookLog...
Aldehyde asked 26/10, 2020 at 20:32
2
Solved
On project I use django-rest-auth for user registration and authentication. Also i added code for facebook login:
from allauth.socialaccount.providers.facebook.views import FacebookOAuth2Adapter
f...
Rarebit asked 8/7, 2016 at 9:59
2
Solved
I'm trying to use django-rest-auth password reset feature but after a post request at /rest-auth/password/reset/ i get the error stated in the title (Traceback) and i don't understand why. I follow...
Phemia asked 31/10, 2018 at 16:25
1 Next >
© 2022 - 2025 — McMap. All rights reserved.