This project has been archived by its maintainers, and is no longer receiving any updates.
⚠️ DEPRECATED
This repository is deprecated and no longer maintained as of January 16, 2026.
About
Passage by 1Password unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the WebAuthn API, and allows you to implement passkeys with ease.
Use Passkey Flex to add passkeys to an existing authentication experience.
Use Passkey Complete as a standalone passwordless auth solution.
Use Passkey Ready to determine if your users are ready for passkeys.
In passage-python
Use passage-python to implement Passkey Complete into your Python backend to authenticate requests and manage users.
| Product | Compatible |
|---|---|
| ✖️ For Passkey Flex, check out the Passkey Flex APIs | |
| ✅ | |
| ✖️ For Passkey Ready, check out Authentikit |
Getting Started
Check Prerequisites
You'll need a free Passage account and a Passkey Complete app set up in Passage Console to get started.
Learn more about Passage Console →
Install
Install this package using pip.
pip install passage-identity
Import
import os
from passageidentity import Passage
Initialize
Passage has three arguments that can be used for initialization: app_id, api_key, and auth_strategy.
app_idis the Passage App ID that specifies which app should be authorized. It has no default value and must to be set upon initialization.api_keyis an API key for the Passage app, which can be generated in the 'App Settings' section of the Passage Console. It is an optional parameter and not required for authenticating requests. It is required to get or update user information.- Deprecated
auth_strategydefines where the Passage SDK should look for the authentication token. It is set by default toPassage.COOKIE_AUTH, but can be changed toPassage.HEADER_AUTH.
PASSAGE_APP_ID = os.environ.get("YOUR_PASSAGE_APP_ID")
PASSAGE_API_KEY = os.environ.get("YOUR_PASSAGE_API_KEY")
psg = Passage(PASSAGE_APP_ID, PASSAGE_API_KEY)
Go Passwordless
Find all core functions, user management details, and more implementation guidance on our Passkey Complete Python Documentation page.
Support & Feedback
We are here to help! Find additional docs, the best ways to get in touch with our team, and more within our support resources.
Passage is a product by 1Password, the global leader in access management solutions with nearly 150k business customers.
This project is licensed under the MIT license. See the LICENSE file for more info.
Metadata
Release files for passage-identity 3.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| passage_identity-3.0.2.tar.gz | 37.7 kB | Without provenance | Details for passage_identity-3.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| passage_identity-3.0.2-py3-none-any.whl | Python 3 | none | any | Details for passage_identity-3.0.2-py3-none-any.whl |
Total release size: 120.8 kB
Release files / passage_identity-3.0.2.tar.gz
| Download URL | passage_identity-3.0.2.tar.gz |
|---|---|
| Size | 37.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc649f9034f9c175be913fe77a037d20a1747619a1654f64ff84a33671e15c65
|
|
BLAKE2b-256 checksum How to use checksums |
0019674b31dedb03240062e0169a574e83a4cf5f46fd3ac23730facbec54031a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / passage_identity-3.0.2-py3-none-any.whl
| Download URL | passage_identity-3.0.2-py3-none-any.whl |
|---|---|
| Size | 83.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc88e9456b728ee1bae97644efa911fb59b5337078764f8f469134c81ea77fd1
|
|
BLAKE2b-256 checksum How to use checksums |
5d233c3c53adb14f3058689c9e3ea80c2c830fe7c28d5c181c86f5294836c687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for passage-identity 3.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.