Authenticate requests and manage Passage users with Python.


To learn more, see our Github repo with up to date requirements and installation steps.

Requirements: Passage App ID and API Key from Console

Pip package: passage-identity

Session Management

Passage uses two types of tokens: auth tokens and refresh tokens for security. To learn more, see our full guide on Tokens.

Deprecated use validateJwt() instead.


Retrieve information about the Passage app.

User Management

Users of the app can be managed, all are reflected on the app's Users page in Console. To learn more about user management and correlating users between Passage and your database view our guide here.

Deprecated use revokeUserRefreshTokens() instead.

User Passkey Device Management

When a user creates a passkey, the device is saved. Devices can be retrieved and deleted from the user's profile.

The Python SDK can be used to generate custom magic links for users, that can be embedded into any content medium. To learn more, see our full guide on Embedded Magic Links.

Last updated