django user authenticated (not authenticated )

I want to create a simple Django authentication (register/login/logout) but I have problems. if complete login successfully then app go to next page with name mypage because I have define in my that line : LOGIN_REDIRECT_URL = '/mypage'. ...
more »

2017-09-10 03:09 (2) Answers

Django authentication override not working

I created a file "" at the same level as the "" file in my django project. The content of this file is: from django.contrib.auth.models import User class SettingsBackend(object): def authenticate(self, request, user...
more »

2017-08-30 10:08 (1) Answers

Change default behavior of "New ASP.NET Project"

Whenever I create a new ASP.NET MVC project, I get this dialog: The one thing I almost always have to change is the authentication (to "None") - either it's jsut a test web that I'm creating and it needs no authentication, or for the case of a "re...
more »

2017-08-30 08:08 (1) Answers

401 error but cookie is still there

So I've got a C# ASP.NET MVC application, using ApplicationCookie authentication (with an 8-hour, non-session-based expiry date), intended to run on my company's internal web server. If I navigate to a page, leave the thing for an hour, and then tou...
more »

2017-08-17 16:08 (0) Answers

Sourcetree remote: Invalid username or password

Im trying to push to github with sourcetree but get the following error: git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin live_version:live_version remote: Invalid username or password. fatal: Authentication failed...
more »

2017-08-10 22:08 (2) Answers

Authenticating in `NSUrlSessionDownloadTask`

I want to download files in the background using NSUrlSessionDownloadTask. To download I need to perform the following: Perform a POST to get an auth token Perform a GET to get a download URL using the auth token in the header. The URL I get back ...
more »

2017-08-08 13:08 (0) Answers

Podbean API without login dialog

I'm having a hard time getting a API for a podcast service to play nice with what I want to achieve. I'm developing a app that plays podcasts from our enterprise account at The app should access the data through the podbean API. It s...
more »

2017-08-02 10:08 (0) Answers

How do I get AD user when using ASP.Net Identity

I am trying to get details of current windows (AD) user in my mvc 5 intranet site. When I started this project, I set my authentication to individual accounts assuming that I can still get windows user information. But I have had no l...
more »

2017-07-03 15:07 (1) Answers

How to override wagtail authentication?

When I attempt to access my wagtail back-office at /cms/, I get redirected to wagtail's login page, /cms/login/. However, I would like to use my own custom login, which is default for the rest of the site, and sits at /auth/. My LOGIN_URL is alread...
more »

2017-06-19 20:06 (1) Answers

ASP.NET MVC mixed mode authentication

I'm using Visual Studio 2015 with MVC 5 and need to enable both Windows and Forms Authentication for the same app. I read that one approach is to have two apps: one has Windows Auth enabled; the other has Forms Auth (main app that contains all the pa...
more »

2017-06-01 23:06 (0) Answers

New users can't log in. Django

I'm using a view to create new users in Django. And then I have another view to log them in. But when I create a user, and I try to log in with authenticate(username=username_post, password=password_post), I get None, so it displays in the template ...
more »

2017-05-27 22:05 (1) Answers

Basic HTTP Auth - wget with Cookies

I am currrently using the following command to retrieve data from a site: wget --user=joe --password=schmoe --auth-no-challenge I expand this to be recursive, however, my understanding is that this will resend the HTTP Auth ...
more »

2017-05-17 20:05 (1) Answers

.net Web API password Encryption methods

I have developed a .net sample application using the tutorial given in In this sample application When register new user with username and password, t...
more »

2017-05-17 08:05 (0) Answers

Creating profile model on instance creation

According to Extending the existing User model¶ These profile models are not special in any way - they are just Django models that happen to have a one-to-one link with a user model. As such, they aren’t auto created when a user is created...
more »

2017-05-13 06:05 (2) Answers