{"id":21211848,"url":"https://github.com/passageidentity/passage-python","last_synced_at":"2026-01-12T10:01:52.788Z","repository":{"id":39968051,"uuid":"380742828","full_name":"passageidentity/passage-python","owner":"passageidentity","description":"Passkey Complete for Python - Integrate into your Python API or service to enable a completely passwordless standalone auth solution with Passage by 1Password","archived":false,"fork":false,"pushed_at":"2026-01-09T16:12:24.000Z","size":440,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-01-12T02:28:10.942Z","etag":null,"topics":["1password","authentication","biometrics","ciam","identity","magic-links","oauth2","oidc","otp","passage","passage-sdk","passkey-complete","passkeys","passwordless","python","webauthn"],"latest_commit_sha":null,"homepage":"http://docs.passage.id/complete","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/passageidentity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-06-27T13:10:12.000Z","updated_at":"2026-01-09T16:11:51.000Z","dependencies_parsed_at":"2024-01-09T20:31:01.959Z","dependency_job_id":"3b82b0a9-e62b-47f3-bda1-3c501ffd68b2","html_url":"https://github.com/passageidentity/passage-python","commit_stats":{"total_commits":87,"total_committers":11,"mean_commits":7.909090909090909,"dds":0.6666666666666667,"last_synced_commit":"46ada1d352d1e6e4292bf1616914f0a2deaca6f9"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/passageidentity/passage-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passageidentity%2Fpassage-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passageidentity%2Fpassage-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passageidentity%2Fpassage-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passageidentity%2Fpassage-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/passageidentity","download_url":"https://codeload.github.com/passageidentity/passage-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passageidentity%2Fpassage-python/sbom","scorecard":{"id":721427,"data":{"date":"2025-08-11","repo":{"name":"github.com/passageidentity/passage-python","commit":"48d9d190e21be37062360e3fca13da85086f0c05"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.4,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/on-pull-request.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-title-check.yml:1","Warn: no topLevel permission defined: .github/workflows/release-as.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release.yml:11","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/on-pull-request.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/on-pull-request.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-title-check.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/pr-title-check.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-title-check.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/pr-title-check.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-title-check.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/pr-title-check.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-as.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/release-as.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-as.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/release-as.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/passageidentity/passage-python/release.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/on-pull-request.yml:35","Warn: pipCommand not pinned by hash: .github/workflows/release.yml:31","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  10 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"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":"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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/passageidentity/.github/SECURITY.md:1","Info: Found linked content: github.com/passageidentity/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/passageidentity/.github/SECURITY.md:1"],"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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:15"],"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T11:29:12.523Z","repository_id":39968051,"created_at":"2025-08-22T11:29:12.523Z","updated_at":"2025-08-22T11:29:12.523Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["1password","authentication","biometrics","ciam","identity","magic-links","oauth2","oidc","otp","passage","passage-sdk","passkey-complete","passkeys","passwordless","python","webauthn"],"created_at":"2024-11-20T21:05:58.830Z","updated_at":"2026-01-12T10:01:52.782Z","avatar_url":"https://github.com/passageidentity.png","language":"Python","readme":"![passage-python](https://storage.googleapis.com/passage-docs/github-md-assets/passage-python.png)\n\n[![PyPI version](https://badge.fury.io/py/passage-identity.svg)](https://badge.fury.io/py/passage-identity) [![Python](https://img.shields.io/badge/Python-3776AB?logo=python\u0026logoColor=fff)](#) ![GitHub License](https://img.shields.io/github/license/passageidentity/passage-python)\n![Static Badge](https://img.shields.io/badge/Built_by_1Password-grey?logo=1password)\n\n# ⚠️ DEPRECATED\n**This repository is deprecated and no longer maintained as of January 16, 2026.**\n\n## About\n\n[Passage by 1Password](https://1password.com/product/passage) unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the [WebAuthn API](https://blog.1password.com/what-is-webauthn/), and allows you to implement passkeys with ease.\n\nUse [Passkey Flex](https://docs.passage.id/flex) to add passkeys to an existing authentication experience.\n\nUse [Passkey Complete](https://docs.passage.id/complete) as a standalone passwordless auth solution.\n\nUse [Passkey Ready](https://docs.passage.id/passkey-ready) to determine if your users are ready for passkeys.\n\n### In passage-python\n\nUse passage-python to implement Passkey Complete into your Python backend to authenticate requests and manage users.\n\n| Product                                                                                                                                  | Compatible                                                                                                |\n| ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |\n| ![Passkey Flex](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-flex-icon.png) Passkey **Flex**             | ✖️ For Passkey Flex, check out the [Passkey Flex APIs](https://docs.passage.id/flex/apis)                 |\n| ![Passkey Complete](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-complete-icon.png) Passkey **Complete** | ✅                                                                                                        |\n| ![Passkey Ready](https://storage.googleapis.com/passage-docs/github-md-assets/passage-passkey-ready-icon.png) Passkey **Ready**          | ✖️ For Passkey Ready, check out [Authentikit](https://www.npmjs.com/package/@passageidentity/authentikit) |\n\n## Getting Started\n\n### Check Prerequisites\n\n\u003cp\u003e\n You'll need a free Passage account and a Passkey Complete app set up in \u003ca href=\"https://console.passage.id/\"\u003ePassage Console\u003c/a\u003e to get started. \u003cbr /\u003e\n \u003csub\u003e\u003ca href=\"https://docs.passage.id/home#passage-console\"\u003eLearn more about Passage Console →\u003c/a\u003e\u003c/sub\u003e\n\u003c/p\u003e\n\n### Install\n\nInstall this package using [pip](https://pypi.org/project/passage-identity/).\n\n```shell\npip install passage-identity\n```\n\n### Import\n\n```python\nimport os\nfrom passageidentity import Passage\n```\n\n### Initialize\n\nPassage has three arguments that can be used for initialization: `app_id`, `api_key`, and `auth_strategy`.\n\n- `app_id` is the Passage App ID that specifies which app should be authorized. It has no default value and must to be set upon initialization.\n- `api_key` is an API key for the Passage app, which can be generated in the 'App Settings' section of the [Passage Console](https://console.passage.id). It is an optional parameter and not required for authenticating requests. It is required to get or update user information.\n- **Deprecated** `auth_strategy` defines where the Passage SDK should look for the authentication token. It is set by default to `Passage.COOKIE_AUTH`, but can be changed to `Passage.HEADER_AUTH`.\n\n```python\nPASSAGE_APP_ID = os.environ.get(\"YOUR_PASSAGE_APP_ID\")\nPASSAGE_API_KEY = os.environ.get(\"YOUR_PASSAGE_API_KEY\")\n\npsg = Passage(PASSAGE_APP_ID, PASSAGE_API_KEY)\n```\n\n### Go Passwordless\n\nFind all core functions, user management details, and more implementation guidance on our [Passkey Complete Python Documentation](https://docs.passage.id/complete/backend-sdks/python) page.\n\n## Support \u0026 Feedback\n\nWe are here to help! Find additional docs, the best ways to get in touch with our team, and more within our [support resources](https://github.com/passageidentity/.github/blob/main/SUPPORT.md).\n\n\u003cbr /\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://storage.googleapis.com/passage-docs/github-md-assets/passage-by-1password-dark.png\"\u003e\n      \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://storage.googleapis.com/passage-docs/github-md-assets/passage-by-1password-light.png\"\u003e\n      \u003cimg alt=\"Passage by 1Password Logo\" src=\"https://storage.googleapis.com/passage-docs/github-md-assets/passage-by-1password-light.png\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003csub\u003ePassage is a product by \u003ca href=\"https://1password.com/product/passage\"\u003e1Password\u003c/a\u003e, the global leader in access management solutions with nearly 150k business customers.\u003c/sub\u003e\u003cbr /\u003e\n    \u003csub\u003eThis project is licensed under the MIT license. See the \u003ca href=\"LICENSE\"\u003eLICENSE\u003c/a\u003e file for more info.\u003c/sub\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassageidentity%2Fpassage-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassageidentity%2Fpassage-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassageidentity%2Fpassage-python/lists"}