streamlit-supabase-auth
Usage
Prerequisite:
- python >= 3.7
import streamlit as st
from streamlit_supabase_auth import login_form, logout_button
session = login_form(
url="https://xxxx.supabase.co",
apiKey="<SUPABASE_KEY>",
providers=["apple", "facebook", "github", "google"],
)
if not session:
return
# Update query param to reset url fragments
st.experimental_set_query_params(page=["success"])
with st.sidebar:
st.write(f"Welcome {session['user']['email']}")
logout_button()
More details in example directory.
Develop
docker-compose up --build
Or manually, start the frontend
cd streamlit_supabase_auth/frontend
npm install
npm run start
Followed by the example app
RELEASE=DEV streamlit run example/app.py
Publish
cd component/frontend
npm run build
cd ../..
pip install build
python -m build
Known Issues
Metadata
Release files for streamlit-supabase-auth 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamlit_supabase_auth-1.0.2.tar.gz | 639.4 kB | Without provenance | Details for streamlit_supabase_auth-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_supabase_auth-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for streamlit_supabase_auth-1.0.2-py3-none-any.whl |
Total release size: 1.3 MB
Release files / streamlit_supabase_auth-1.0.2.tar.gz
| Download URL | streamlit_supabase_auth-1.0.2.tar.gz |
|---|---|
| Size | 639.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a43ac1bfecdd5f7c434d18b7706f75d6f312335f5a2388869ef53cb1f7828a08
|
|
BLAKE2b-256 checksum How to use checksums |
4b4f7f71fb15d7b61c6577eb83f9d7254dc25a10857c03da1363c9ad22bf22cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / streamlit_supabase_auth-1.0.2-py3-none-any.whl
| Download URL | streamlit_supabase_auth-1.0.2-py3-none-any.whl |
|---|---|
| Size | 646.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab90f8355789abf909f53976a714c7925a164cbc4b557aebc7cdb1a9ff7172fa
|
|
BLAKE2b-256 checksum How to use checksums |
89b16b78ced712137c37916a6b998e02b601c9bc5156cf24195a7b512d5f0fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Security for streamlit-supabase-auth 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.