Skip to main content
1 vote
0 answers
52 views

I have the code below that is responsible for sending a password recovery email to the user who made the request. However, it only works, that is, only sending the email on localhost if the user ...
vinicius cigma's user avatar
1 vote
1 answer
69 views

While I expected this to be answered somewhere on StackOverflow, I haven't found it, so I apologise if this is a dupe. I want a setting to control whether certain views require a user to be logged in. ...
Michael Scheper's user avatar
0 votes
1 answer
65 views

I am trying to integrate Microsoft authentication with my Django app using the django_auth_adfs package. However, I encountered an error regarding a mismatch in the redirect URI. I have followed the ...
roshan's user avatar
  • 1
1 vote
1 answer
30 views

I'm facing a strange issue with Django REST Framework (DRF). # views.py class CheckoutView(APIView): permission_classes = [AllowAny] def post(self, request, *args, **kwargs): ...
Irfan K's user avatar
  • 11
0 votes
0 answers
34 views

I have the problem that the google auth is not working properly. When I try access the site, then I get the error <a href="{% provider_login_url 'google' %}?next=/">Login with google&...
Arrow Stuhl's user avatar
1 vote
1 answer
42 views

today I faced such a problem that after registration the form does not go anywhere. The catch is that the form does not send a request to the database, but I can create a user through the Django admin ...
bensoproglib's user avatar
1 vote
1 answer
121 views

So I'm using django.contrib.auth.urls and I would prefer to continue that. But I want the accounts/login url to be replaced with users/c-login or whatever. I would really like to understand why this ...
Lars's user avatar
  • 153
0 votes
1 answer
61 views

I am new to Django and I am trying to use the authentication system. I have managed to get it working using the default Auth URLS. (/accounts/login) etc. I want to get a login form on my homepage so ...
Tom Philpotts's user avatar
0 votes
1 answer
155 views

This is my logged_out.html {% extends 'base.html' %} {% block title %} Logout {% endblock %} {% block content %} <form action="{% url 'login' %}", method="POST"> {% ...
Raul kumar's user avatar
0 votes
2 answers
163 views

(I tried the solutions in similar questions, but they didn't work for me). I am creating a simple Django REST based web-app, where a user will register, create some events, log in later and view ...
Nht_e0's user avatar
  • 156
1 vote
2 answers
159 views

I'm successfully creating a token upon a user's login (using a CustomUser model that replaces the username field with email), but when using this token in subsequent requests, the response is "...
William's user avatar
  • 23
1 vote
1 answer
123 views

I have a two customer authentication backends: one for a standard login, and one for a two factor login. In my settings.py, I have them both listed AUTHENTICATION_BACKENDS = [ 'user_profile....
Bring Coffee Bring Beer's user avatar
0 votes
1 answer
291 views

Message: AADSTS50011: The redirect URI 'http://127.0.0.1:8000/oauth2/callback' specified in the request does not match the redirect URIs configured for the application '456b3ef5-cdbe-4d58-aa7b-...
Elman Seferli's user avatar
3 votes
2 answers
387 views

I have the following django model: class Listing(models.Model): STATUS_CHOICES = [ ('available', 'Available'), ('rented', 'Rented'), ('unavailable', 'Unavailable'), ...
Mirzonabot Mirzonabotov's user avatar
0 votes
0 answers
311 views

I'm using Django to make an authentication page (login, registration...) While I writing the login program I ran into this error and I can't understand where it come from users/urls.py path('login/', ...
M4rc0txt's user avatar

15 30 50 per page
1
2 3 4 5
128