All Projects → PaesslerAG → django-act-as-auth

PaesslerAG / django-act-as-auth

Licence: BSD-3-Clause license
Django authentication backend that allows one to login as someone else

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
HTML
75241 projects

Projects that are alternatives of or similar to django-act-as-auth

Admidio
Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
Stars: ✭ 116 (+582.35%)
Mutual labels:  user-management
Flask Base
A simple Flask boilerplate app with SQLAlchemy, Redis, User Authentication, and more.
Stars: ✭ 2,680 (+15664.71%)
Mutual labels:  user-management
django-user-management
User management model mixins and api views.
Stars: ✭ 56 (+229.41%)
Mutual labels:  user-management
Symfony Demo App
A Symfony demo application with basic user management
Stars: ✭ 122 (+617.65%)
Mutual labels:  user-management
Lam
LDAP Account Manager
Stars: ✭ 223 (+1211.76%)
Mutual labels:  user-management
Authing
🔥Authing - IDaaS/IAM solution that can Auth to web and mobile applications.
Stars: ✭ 247 (+1352.94%)
Mutual labels:  user-management
Github Authorized Keys
Use GitHub teams to manage system user accounts and authorized_keys
Stars: ✭ 106 (+523.53%)
Mutual labels:  user-management
attendance-management
Attendance Management System implements the 'punch in / punch out' based concept of attendance management.
Stars: ✭ 28 (+64.71%)
Mutual labels:  user-management
Appy
🚀 A full stack boilerplate web app
Stars: ✭ 225 (+1223.53%)
Mutual labels:  user-management
laravel-adminlte-boilerplate
Laravel 5.6+ AdminLTE
Stars: ✭ 45 (+164.71%)
Mutual labels:  user-management
Nest User Auth
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL.
Stars: ✭ 145 (+752.94%)
Mutual labels:  user-management
Msgphp
Reusable domain layers. Shipped with industry standard infrastructure.
Stars: ✭ 182 (+970.59%)
Mutual labels:  user-management
Scipio Erp
Your Online Business Kit - Build your own business applications. Create your own online shop. Customize to your own needs.
Stars: ✭ 247 (+1352.94%)
Mutual labels:  user-management
Userfrosting
🍩 Modern PHP user login and management framework++.
Stars: ✭ 1,547 (+9000%)
Mutual labels:  user-management
SuluCommunityBundle
Community features like Login, Registration, Password forget/reset for your sulu application.
Stars: ✭ 20 (+17.65%)
Mutual labels:  user-management
User Bundle
A new Symfony user bundle
Stars: ✭ 116 (+582.35%)
Mutual labels:  user-management
Laravel Auth
Laravel 8 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. The project can be stood u…
Stars: ✭ 2,692 (+15735.29%)
Mutual labels:  user-management
nativeauthenticator
JupyterHub-native User Authenticator https://native-authenticator.readthedocs.io/en/latest/
Stars: ✭ 55 (+223.53%)
Mutual labels:  user-management
kirby-membership
Simple Membership plugin for Kirby CMS
Stars: ✭ 27 (+58.82%)
Mutual labels:  user-management
SwiftUserManager
A usermanager written in swift saves you from hassle of saving your active user session.
Stars: ✭ 22 (+29.41%)
Mutual labels:  user-management

Django Act As Auth Backend

WARNING:This project is currently frozen and will not longer be maintained. If there is someone interested in continuing to maintain this project please contact: [email protected] .

Django authentication back-end that allows one to login as someone else (an existing Django user allowed to login) without having to know their password.

Great for customer support and testing scenarios!

https://travis-ci.org/PaesslerAG/django-act-as-auth.svg?branch=master https://readthedocs.org/projects/django-act-as-auth/badge/?version=latest

Quickstart

Install djactasauth:

pip install djactasauth

Add it to your auth backends in settings:

import djactasauth
AUTHENTICATION_BACKENDS = (
    ...,
    'djactasauth.backends.OnlySuperuserCanActAsBackend',
    ...,
)

Configure the custom login view to take advantage of all the features in your urls.py:

from django.conf.urls import patterns, url
from djactasauth.views import PrefillLoginView
from testapp.views import whoami


urlpatterns = patterns(
    '',
    url(r'^login/$', PrefillLoginView.as_view(), {}, 'login'),
)

Then you can log in with username your_superuser_name/customer and password yourpassword.

Contributing

As an open source project, we welcome contributions.

The code lives on github.

Reporting issues/improvements

Please open an issue on github or provide a pull request whether for code or for the documentation.

For non-trivial changes, we kindly ask you to open an issue, as it might be rejected. However, if the diff of a pull request better illustrates the point, feel free to make it a pull request anyway.

Pull Requests

  • for code changes
    • it must have tests covering the change. You might be asked to cover missing scenarios
    • the latest flake8 will be run and shouldn't produce any warning
    • if the change is significant enough, documentation has to be provided
  • if you are not there already, add yourself to the Authors file

To trigger packaging, run make release on the master branch.

Setting up all Python versions

sudo apt-get -y install software-properties-common
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
for version in 3.5 3.6; do
  py=python$version
  sudo apt-get -y install ${py} ${py}-dev
done

Code of Conduct

As it is a Django extension, it follows Django's own Code of Conduct. As there is no mailing list yet, please just email one of the main authors (see setup.py file)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].