skillfed

supabase-auth

Python Client Library for Supabase Auth

supabase-auth Permissive license MIT Active 2,557 v2.31.0 released

Install

supabase-auth on PyPI

pip

pip install supabase-auth

uv

uv add supabase-auth

poetry

poetry add supabase-auth

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 3 — httpx, pydantic, pyjwt
Maintenance actively maintained — 70 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: supabase_auth-2.31.0-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

About supabase-auth

from the package's own PyPI description — quoted content, verbatim

Auth-py

CI (image) Python (image) Version (image)

This is a Python port of the supabase js gotrue client. The current state is that there is a features parity but with small differences that are mentioned in the section Differences to the JS client. As of December 14th, we renamed to repo from gotrue-py to auth-py to mirror the changes in the JavaScript library.

Installation

The package can be installed using pip, uv or poetry:

Pip
pip install supabase_auth
Uv
uv add supabase_auth
Poetry
poetry add supabase_auth

Features

  • Full feature parity with the JavaScript client
  • Support for both synchronous and asynchronous operations
  • MFA (Multi-Factor Authentication) support
  • OAuth and SSO integration
  • Magic link and OTP authentication
  • Phone number...

Read as markdown · JSON record · Source repository · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

A Python client for Supabase authentication that handles user sign-up, sign-in, OAuth, MFA, and session management via both synchronous and asynchronous interfaces.

Low friction install with three lightweight runtime dependencies (httpx, pydantic, pyjwt). Active maintenance with recent releases and 2557 repository stars indicate solid community backing.

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.

Usage

pip install supabase-auth

from supabase_auth import SyncGoTrueClient

headers = {"apiKey": "your-api-key"}
client = SyncGoTrueClient(url="https://your-auth-url.com", headers=headers)
user = client.sign_in_with_password(email="user@example.com", password="password")

Requires Python 3.9 or later and a valid Supabase Auth endpoint URL with API key.

Verdict: Well-maintained authentication library with feature parity to the JavaScript client, low install friction, and no known vulnerabilities. Suitable for projects needing Supabase-backed auth with sync/async flexibility and MFA support.

Needs verification

  • Whether the library's error-raising approach (raising exceptions rather than returning error objects) aligns with your application's error handling patterns.
  • Performance characteristics and rate-limiting behavior when used at scale with high-frequency authentication requests.
supabase authentication clientpython auth libraryoauth and mfa supportasync sync authenticationgotrue python clientsession management authmagic link otp signin

Similar packages