{"id":46734497,"url":"https://github.com/zsoldosp/django-act-as-auth","last_synced_at":"2026-03-09T16:49:25.394Z","repository":{"id":57418654,"uuid":"54199966","full_name":"zsoldosp/django-act-as-auth","owner":"zsoldosp","description":"Django authentication backend that allows one to login as someone else","archived":false,"fork":false,"pushed_at":"2025-05-15T08:34:32.000Z","size":123,"stargazers_count":18,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-15T09:24:58.992Z","etag":null,"topics":["authentication","django","user-management"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zsoldosp.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-18T12:37:06.000Z","updated_at":"2025-05-15T08:34:30.000Z","dependencies_parsed_at":"2022-09-13T13:22:32.403Z","dependency_job_id":null,"html_url":"https://github.com/zsoldosp/django-act-as-auth","commit_stats":null,"previous_names":["paesslerag/django-act-as-auth"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/zsoldosp/django-act-as-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsoldosp%2Fdjango-act-as-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsoldosp%2Fdjango-act-as-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsoldosp%2Fdjango-act-as-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsoldosp%2Fdjango-act-as-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zsoldosp","download_url":"https://codeload.github.com/zsoldosp/django-act-as-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsoldosp%2Fdjango-act-as-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30302948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","django","user-management"],"created_at":"2026-03-09T16:49:21.936Z","updated_at":"2026-03-09T16:49:25.376Z","avatar_url":"https://github.com/zsoldosp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django Act As Auth Backend\n==========================\n\n.. sales pitch start\n\nDjango authentication back-end that allows one to login as someone else\n(an existing Django user allowed to login) without having to know their\npassword.\n\nGreat for customer support and testing scenarios!\n\n.. sales pitch end\n\n.. image:: https://readthedocs.org/projects/django-act-as-auth/badge/?version=latest\n        :target: http://django-act-as-auth.readthedocs.org/\n\n.. quickstart start\n\nQuickstart\n----------\n\nInstall ``djactasauth``::\n\n    pip install djactasauth\n\nAdd it to your auth backends in ``settings``::\n\n    import djactasauth\n    AUTHENTICATION_BACKENDS = (\n        ...,\n        'djactasauth.backends.OnlySuperuserCanActAsBackend',\n        ...,\n    )\n\nConfigure the custom login view to take advantage of all the features\nin your ``urls.py``::\n\n    from django.conf.urls import patterns, url\n    from djactasauth.views import PrefillLoginView\n    from testapp.views import whoami\n\n\n    urlpatterns = patterns(\n        '',\n        url(r'^login/$', PrefillLoginView.as_view(), {}, 'login'),\n    )\n\n\nThen you can log in with username ``your_superuser_name/customer`` and password\n``yourpassword``.\n\nThe full `documentation \u003chttps://django-act-as-auth.readthedocs.io/en/latest/\u003e`_ including release notes on read the docs.\n.. quickstart end\n\n\n.. contributing start\n\nContributing\n------------\n\nAs an open source project, we welcome contributions.\n\nThe code lives on `github \u003chttps://github.com/zsoldosp/django-act-as-auth\u003e`_.\n\nReporting issues/improvements\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nPlease open an `issue on github \u003chttps://github.com/zsoldosp/django-act-as-auth/issues/\u003e`_\nor provide a `pull request \u003chttps://github.com/zsoldosp/django-act-as-auth/pulls/\u003e`_\nwhether for code or for the documentation.\n\nFor non-trivial changes, we kindly ask you to open an issue, as it might be rejected.\nHowever, if the diff of a pull request better illustrates the point, feel free to make\nit a pull request anyway.\n\nPull Requests\n~~~~~~~~~~~~~\n\n* for code changes\n\n  * it must have tests covering the change. You might be asked to cover missing scenarios\n  * the latest ``flake8`` will be run and shouldn't produce any warning\n  * if the change is significant enough, documentation has to be provided\n\n* if you are not there already, add yourself to the `Authors \u003cauthors\u003e`_ file\n\nTo trigger packaging, run `make release` on the master branch.\n\nSetting up all Python versions\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n    sudo apt-get -y install software-properties-common\n    sudo add-apt-repository ppa:fkrull/deadsnakes\n    sudo apt-get update\n    for version in 3.9 3.10 3.11 3.12 3.13; do\n      py=python$version\n      if ! which ${py}; then\n        sudo apt-get -y install ${py} ${py}-dev\n      fi\n    done\n    sudo add-apt-repository --remove ppa:deadsnakes/ppa\n    sudo apt-get update\n\nCode of Conduct\n~~~~~~~~~~~~~~~\n\nAs it is a Django extension, it follows\n`Django's own Code of Conduct \u003chttps://www.djangoproject.com/conduct/\u003e`_.\nAs there is no mailing list yet, please just email one of the main authors\n(see ``setup.py`` file)\n\n\n.. contributing end\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsoldosp%2Fdjango-act-as-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzsoldosp%2Fdjango-act-as-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsoldosp%2Fdjango-act-as-auth/lists"}