Skip to main content

fastapi-openid-google

Google OpenID integration for FastAPI.

Usage

import fastapi

from fastapi_openid_google import setup_openid

app = fastapi.FastAPI()
setup_openid(app)


@app.get("/")
def home(
    request: fastapi.Request,
):
    if request.state.user:
        return {
            "current_user": request.state.user,
            "logout": f"/logout",
        }
    else:
        return {"login": f"/login"}

Metadata

Release files for fastapi-openid-google 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-openid-google 0.0.0
File Size Uploaded Provenance Actions
fastapi_openid_google-0.0.0.tar.gz 6.0 kB Without provenance Details for fastapi_openid_google-0.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-openid-google 0.0.0
File Interpreter ABI Platform Actions
fastapi_openid_google-0.0.0-py3-none-any.whl Python 3 none any Details for fastapi_openid_google-0.0.0-py3-none-any.whl

Total release size: 11.2 kB

Release files / fastapi_openid_google-0.0.0.tar.gz

Download URL fastapi_openid_google-0.0.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
65abb1f034b21b0745ae06720b45dd65c98bac5f3a470c82e3aa72fde1f94967
BLAKE2b-256 checksum
How to use checksums
1a0fdfd9a485f0998cadad2da179a4077e5a0cdb18e7cb4254c303adc2a6d22c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / fastapi_openid_google-0.0.0-py3-none-any.whl

Download URL fastapi_openid_google-0.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
392035ec2dd6af4fc1f3ed201e7b70608838c21aff290bdc2cd6f38dddeaac45
BLAKE2b-256 checksum
How to use checksums
4200f5286350a5a04f3c39ba2a4aaf9515f8cf26ebecc208ed6af1f7827c1c30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for fastapi-openid-google 0.0.0

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.

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