{"id":17720146,"url":"https://github.com/gregschmit/django-auth-exchange","last_synced_at":"2026-02-06T20:03:03.534Z","repository":{"id":57418989,"uuid":"182879828","full_name":"gregschmit/django-auth-exchange","owner":"gregschmit","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-23T16:11:45.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T17:16:17.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregschmit.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}},"created_at":"2019-04-22T22:51:53.000Z","updated_at":"2022-01-25T09:53:21.000Z","dependencies_parsed_at":"2022-09-13T15:26:10.684Z","dependency_job_id":null,"html_url":"https://github.com/gregschmit/django-auth-exchange","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gregschmit/django-auth-exchange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-auth-exchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-auth-exchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-auth-exchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-auth-exchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregschmit","download_url":"https://codeload.github.com/gregschmit/django-auth-exchange/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregschmit%2Fdjango-auth-exchange/sbom","scorecard":{"id":445134,"data":{"date":"2025-08-11","repo":{"name":"github.com/gregschmit/django-auth-exchange","commit":"065ab90c478ce6bb24a1255f93e53eff977d826d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2018-6 / GHSA-2f9x-5v75-3qv4","Warn: Project is vulnerable to: PYSEC-2019-17 / GHSA-337x-4q8g-prc5","Warn: Project is vulnerable to: PYSEC-2018-2 / GHSA-5hg3-6c2f-f3wr","Warn: Project is vulnerable to: PYSEC-2021-98 / GHSA-68w8-qjq3-2gfm","Warn: Project is vulnerable to: GHSA-6c3j-c64m-qhgq","Warn: Project is vulnerable to: GHSA-7xr5-9hcq-chf9","Warn: Project is vulnerable to: GHSA-8x94-hmjh-97hq","Warn: Project is vulnerable to: GHSA-hmr4-m2h5-33qx","Warn: Project is vulnerable to: PYSEC-2018-5 / GHSA-r28v-mw67-m5p9","Warn: Project is vulnerable to: PYSEC-2018-4 / GHSA-rf4j-j272-fj86","Warn: Project is vulnerable to: GHSA-rrqc-c2jx-6jgv","Warn: Project is vulnerable to: GHSA-vfq6-hq5r-27r6","Warn: Project is vulnerable to: PYSEC-2019-18 / GHSA-wh4h-v3f2-r2pp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T06:31:59.036Z","repository_id":57418989,"created_at":"2025-08-19T06:31:59.036Z","updated_at":"2025-08-19T06:31:59.036Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29174335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T19:56:27.068Z","status":"ssl_error","status_checked_at":"2026-02-06T19:56:18.934Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-25T15:26:26.952Z","updated_at":"2026-02-06T20:03:03.503Z","avatar_url":"https://github.com/gregschmit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Auth Exchange\n#############\n\n.. inclusion-marker-do-not-remove\n\n.. image:: https://readthedocs.org/projects/django-auth-exchange/badge/?version=latest\n    :target: https://django-auth-exchange.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\nDocumentation: https://django-auth-exchange.readthedocs.io\n\nSource: https://github.com/gregschmit/django-auth-exchange\n\nPyPI: https://pypi.org/project/django-auth-exchange/\n\nAuth Exchange is a reusable Django app that allows you to authenticate users\nagainst an Exchange/Office365 server (using ``exchangelib``).\n\n**The Problem**: I don't want users of my app to remember another password.\n\n**The Solution**: This app allows those users to authenticate using their\nExchange email credentials.\n\n\nHow to Use\n==========\n\n.. code-block:: shell\n\n    $ pip install django-auth-exchange\n\nInclude ``django_auth_exchange`` in your ``INSTALLED_APPS``.\n\nAdd ``django_auth_exchange.backends.ExchangeAuthBackend`` to your\n``AUTHENTICATION_BACKENDS``, e.g.:\n\n.. code-block:: python\n\n    AUTHENTICATION_BACKENDS = [\n        'django_auth_exchange.backends.ExchangeAuthBackend',\n        'django.contrib.auth.backends.ModelBackend',\n    ]\n\nConfigure at least one domain:\n\n.. code-block:: python\n\n    AUTH_EXCHANGE_DOMAIN_SERVERS = {\n        'example.org': 'autodiscover',\n    }\n\n\nSettings\n--------\n\n``AUTH_EXCHANGE_CREATE_UNKNOWN_USER`` (default: ``True``) - Determines if users\nshould be created if they are not found in the local database.\n\n``AUTH_EXCHANGE_DEFAULT_DOMAIN`` (default: ``'example.com'``) - If only a\nusername is provided, this is the default domain that will be associated.\n\n``AUTH_EXCHANGE_ALLOWED_FORMATS`` (default:\n``['email', 'netbios', 'username']``) - This specifies which formats are allowed\nas the username (email means ``someuser@example.com``, netbios means\n``EXAMPLE\\someuser``, and username means ``someuser``).\n\n``AUTH_EXCHANGE_DOMAIN_SERVERS`` (default: ``{}``) - This specifies the domains\nwhich are allowed to authenticate and the server that should be used for\nauthentication (or ``'autodiscover'``). Hint: Office365 uses the server\n``outlook.office365.com``.\n\n``AUTH_EXCHANGE_DOMAIN_USER_PROPERTIES`` (default: ``{}``) - This specifies the\nsettings we should apply to a user when they are added to the local database for\neach domain (e.g., to make all ``example.com`` users superusers, do:\n``{'example.com': {'is_staff': True, 'is_superuser': True}}``).\n\n``AUTH_EXCHANGE_NETBIOS_TO_DOMAIN_MAP`` (default: ``{}``) - This specifies a\nmapping from NETBIOS names to domain names.\n\n\nContributing\n============\n\nEmail gschmi4@uic.edu if you want to contribute. You must only contribute code\nthat you have authored or otherwise hold the copyright to, and you must\nmake any contributions to this project available under the MIT license.\n\nTo collaborators: don't push using the ``--force`` option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregschmit%2Fdjango-auth-exchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregschmit%2Fdjango-auth-exchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregschmit%2Fdjango-auth-exchange/lists"}