Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

passage-python

PyPI version Python GitHub License Static Badge

⚠️ 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
Passkey Flex Passkey Flex ✖️ For Passkey Flex, check out the Passkey Flex APIs
Passkey Complete Passkey Complete ✅
Passkey Ready Passkey Ready ✖️ 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_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. 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.
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 by 1Password Logo

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)

Source distribution for passage-identity 3.0.2
File Size Uploaded
passage_identity-3.0.2.tar.gz 37.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for passage-identity 3.0.2
File Interpreter ABI Platform
passage_identity-3.0.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page