https://github.com/passageidentity/passage-python
Passkey Complete for Python - Integrate into your Python API or service to enable a completely passwordless standalone auth solution with Passage by 1Password
https://github.com/passageidentity/passage-python
1password authentication biometrics ciam identity magic-links oauth2 oidc otp passage passage-sdk passkey-complete passkeys passwordless python webauthn
Last synced: 15 days ago
JSON representation
Passkey Complete for Python - Integrate into your Python API or service to enable a completely passwordless standalone auth solution with Passage by 1Password
- Host: GitHub
- URL: https://github.com/passageidentity/passage-python
- Owner: passageidentity
- License: mit
- Created: 2021-06-27T13:10:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-09T16:12:24.000Z (17 days ago)
- Last Synced: 2026-01-12T02:28:10.942Z (15 days ago)
- Topics: 1password, authentication, biometrics, ciam, identity, magic-links, oauth2, oidc, otp, passage, passage-sdk, passkey-complete, passkeys, passwordless, python, webauthn
- Language: Python
- Homepage: http://docs.passage.id/complete
- Size: 430 KB
- Stars: 13
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://badge.fury.io/py/passage-identity) [](#) 

# ⚠️ DEPRECATED
**This repository is deprecated and no longer maintained as of January 16, 2026.**
## About
[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.
Use [Passkey Flex](https://docs.passage.id/flex) to add passkeys to an existing authentication experience.
Use [Passkey Complete](https://docs.passage.id/complete) as a standalone passwordless auth solution.
Use [Passkey Ready](https://docs.passage.id/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 |
| ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|  Passkey **Flex** | ✖️ For Passkey Flex, check out the [Passkey Flex APIs](https://docs.passage.id/flex/apis) |
|  Passkey **Complete** | ✅ |
|  Passkey **Ready** | ✖️ For Passkey Ready, check out [Authentikit](https://www.npmjs.com/package/@passageidentity/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](https://pypi.org/project/passage-identity/).
```shell
pip install passage-identity
```
### Import
```python
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_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.
- `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.
- **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`.
```python
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](https://docs.passage.id/complete/backend-sdks/python) 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](https://github.com/passageidentity/.github/blob/main/SUPPORT.md).
---
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.