Skip to main content

Passkey Complete for Python - Integrate into your Python API or service to enable a completely passwordless standalone auth solution with Passage by 1Password

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

passage_identity-3.0.2.tar.gz (37.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

passage_identity-3.0.2-py3-none-any.whl (83.1 kB view details)

Uploaded Python 3

File details

Details for the file passage_identity-3.0.2.tar.gz.

File metadata

  • Download URL: passage_identity-3.0.2.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for passage_identity-3.0.2.tar.gz
Algorithm Hash digest
SHA256 bc649f9034f9c175be913fe77a037d20a1747619a1654f64ff84a33671e15c65
MD5 c41f9507d282f2e9b42b71f221243e00
BLAKE2b-256 0019674b31dedb03240062e0169a574e83a4cf5f46fd3ac23730facbec54031a

See more details on using hashes here.

File details

Details for the file passage_identity-3.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for passage_identity-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc88e9456b728ee1bae97644efa911fb59b5337078764f8f469134c81ea77fd1
MD5 58650e5f1998d9f50c7c080804e0efdc
BLAKE2b-256 5d233c3c53adb14f3058689c9e3ea80c2c830fe7c28d5c181c86f5294836c687

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page