Skip to content

add suport for proxy authorization headers #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bramrodenburg
Copy link

Description

Adds support for configuring a proxy authorization header.

This is needed for self-hosted deployments of Lightdash that for example leverage Google Identity Aware Proxy (IAP). See Lightdash docs here.

Example usage

from lightdash import Client


client = Client(
   instance_url="<instance url>",
   access_token="<lightdash api token>",
   project_uuid="<lightdash project uuid",
   proxy_authentication=f"Bearer <id token>",
)

print(client.list_models())

@bramrodenburg bramrodenburg force-pushed the bram/add-proxy-authorization branch from 8fa1837 to c15c91f Compare February 25, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant