{"id":20400812,"url":"https://github.com/danyi1212/django-windowsauth","last_synced_at":"2025-08-13T07:08:50.350Z","repository":{"id":41946816,"uuid":"318842126","full_name":"danyi1212/django-windowsauth","owner":"danyi1212","description":"Easy integration and deployment of Django projects into Windows Environments","archived":false,"fork":false,"pushed_at":"2025-07-16T23:34:43.000Z","size":838,"stargazers_count":28,"open_issues_count":7,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-20T19:41:34.399Z","etag":null,"topics":["active-directory","active-directory-integration","django","django-auth","django-authentication","django-authorization","iis","iis-server","ldap","ldap-authentication","ldap3","python","python3","wfastcgi","windows"],"latest_commit_sha":null,"homepage":"https://django-windowsauth.readthedocs.io/en/latest/","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/danyi1212.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-12-05T17:00:52.000Z","updated_at":"2025-07-16T23:34:00.000Z","dependencies_parsed_at":"2023-02-18T12:01:35.053Z","dependency_job_id":null,"html_url":"https://github.com/danyi1212/django-windowsauth","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/danyi1212/django-windowsauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyi1212%2Fdjango-windowsauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyi1212%2Fdjango-windowsauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyi1212%2Fdjango-windowsauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyi1212%2Fdjango-windowsauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danyi1212","download_url":"https://codeload.github.com/danyi1212/django-windowsauth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyi1212%2Fdjango-windowsauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270199922,"owners_count":24543753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["active-directory","active-directory-integration","django","django-auth","django-authentication","django-authorization","iis","iis-server","ldap","ldap-authentication","ldap3","python","python3","wfastcgi","windows"],"created_at":"2024-11-15T04:46:47.988Z","updated_at":"2025-08-13T07:08:49.773Z","avatar_url":"https://github.com/danyi1212.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"django-windowsauth\n==================\n\n.. image:: https://readthedocs.org/projects/django-windowsauth/badge/?version=latest\n    :target: https://django-windowsauth.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n    \n.. image:: https://img.shields.io/badge/Maintained-yes-green.svg\n    :target: https://github.com/danyi1212/django-windowsauth/graphs/commit-activity\n    :alt: Maintained\n   \n.. image:: https://static.pepy.tech/personalized-badge/django-windowsauth?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=blue\u0026left_text=Downloads\u0026service=github\n    :target: https://pepy.tech/project/django-windowsauth\n\n**Easy integration and deployment of Django projects into Windows Environments.**\n\n| Documentation is available at https://django-windowsauth.readthedocs.io/en/latest/\n| PyPI Package at https://pypi.org/project/django-windowsauth/\n| Django Packages at https://djangopackages.org/packages/p/django-windowsauth/\n\nRequirements:\n\n- Python (3.6, 3.7, 3.8, 3.9)\n- Django (2.2, 3.1, 3.2)\n\nFeatures\n~~~~~~~~\n- Deploy to **Microsoft IIS** quickly using `wfastcgi \u003chttps://pypi.org/project/wfastcgi/\u003e`_\n- Authenticate via `IIS's Windows Authentication \u003chttps://docs.microsoft.com/en-us/iis/configuration/system.webserver/security/authentication/windowsauthentication/#:~:text=You%20can%20use%20Windows%20authentication,Windows%20accounts%20to%20identify%20users.\u0026text=When%20you%20install%20and%20enable,the%20default%20protocol%20is%20Kerberos\u003e`_.\n- Authorize against **Active Directory** using `ldap3 \u003chttps://ldap3.readthedocs.io/en/latest/\u003e`_ package\n- Manage **LDAP Connections** for easy integrations\n- Debug using `django-debug-toolbar \u003chttps://django-debug-toolbar.readthedocs.io/en/latest/\u003e`_\n- **NEW** Create Task Schedulers for Django management commands\n\nQuick Start\n-----------\n1. Install with `pip install django-windowsauth`\n2. Run `py manage.py migrate windows_auth`\n3. Add \"fastcgi application\" with `wfastcgi-enable`\n4. Configure project settings\n\n.. code-block::  python\n\n    INSTALLED_APPS = [\n        \"windows_auth\",\n    ]\n\n    MIDDLEWARE = [\n        # ...\n        'django.contrib.auth.middleware.AuthenticationMiddleware',\n        'django.contrib.auth.middleware.RemoteUserMiddleware',\n        'windows_auth.middleware.UserSyncMiddleware',\n        # ...\n    ]\n\n    AUTHENTICATION_BACKENDS = [\n        \"windows_auth.backends.WindowsAuthBackend\",\n        \"django.contrib.auth.backends.ModelBackend\",\n    ]\n\n    WAUTH_DOMAINS = {\n        \"\u003cyour domain's NetBIOS Name\u003e (EXAMPLE)\": {\n            \"SERVER\": \"\u003cdomain FQDN\u003e (example.local)\",\n            \"SEARCH_SCOPE\": \"\u003csearch scope\u003e (DC=example,DC=local)\",\n            \"USERNAME\": \"\u003cbind account username\u003e\",\n            \"PASSWORD\": \"\u003cbind account password\u003e\",\n        }\n    }\n\n    # optional\n    STATIC_URL = '/static/'\n    STATIC_ROOT = BASE_DIR / \"static\"\n\n    MEDIA_URL = '/media/'\n    MEDIA_ROOT = BASE_DIR / \"media\"\n    \n5. Generate **web.config** files with `py manage.py createwebconfig -s -m`\n6. Create new IIS Website from the project files\n\nIf you don't need Windows Authentication on your site, skip adding the middleware and authentication backend.\n\nFor more details visit the docs for installation: https://django-windowsauth.readthedocs.io/en/latest/installation/installation.html\n\nGetting help\n------------\n\nIn case you have trouble while using this module, you may use the `GitHub Disccussion \u003chttps://github.com/danyi1212/django-windowsauth/discussions\u003e`_.\n\nFor any bug or issue, open a `new GitHub Issue \u003chttps://github.com/danyi1212/django-windowsauth/issues\u003e`_.\n\nContributing\n------------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanyi1212%2Fdjango-windowsauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanyi1212%2Fdjango-windowsauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanyi1212%2Fdjango-windowsauth/lists"}